Skip to content

Commit 8338dee

Browse files
committed
Renaming tests to avoid inclusion in dist.
1 parent 582163e commit 8338dee

File tree

9 files changed

+5
-4
lines changed

9 files changed

+5
-4
lines changed

.github/workflows/run-build.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- main
88
paths-ignore:
99
- 'docs/**'
10+
- '.tests/**'
1011

1112
jobs:
1213

.github/workflows/run-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
3535
- name: Build and Execute Tests
3636
run: |
37-
cd tests/
37+
cd .tests/
3838
make
3939
../src/NullPacketComms
File renamed without changes.

tests/Arduino.h renamed to .tests/Arduino.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*
88
* Mocked Arduino stub for testing the library.
99
*/
10-
#ifndef TESTS_ARDUINO_H_
11-
#define TESTS_ARDUINO_H_
10+
#ifndef _TESTS_ARDUINO_H_
11+
#define _TESTS_ARDUINO_H_
1212

1313
#include <stdio.h>
1414
#include <stdlib.h>
@@ -37,4 +37,4 @@ extern HardwareSerial Serial;
3737

3838
void delay(int micros);
3939

40-
#endif // TESTS_ARDUINO_H_
40+
#endif // _TESTS_ARDUINO_H_
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)