File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 55
55
run : pio ci --board=teensy31 --lib="."
56
56
env :
57
57
PLATFORMIO_CI_SRC : ${{ matrix.example }}
58
+
59
+ test :
60
+ runs-on : ubuntu-latest
61
+ steps :
62
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
63
+ - uses : actions/checkout@v2
64
+
65
+ - name : Cache pip
66
+ uses : actions/cache@v2
67
+ with :
68
+ path : ~/.cache/pip
69
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
70
+ restore-keys : ${{ runner.os }}-pip-
71
+
72
+ - name : Cache PlatformIO
73
+ uses : actions/cache@v2
74
+ with :
75
+ path : ~/.platformio
76
+ key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
77
+
78
+ - name : Set up Python
79
+ uses : actions/setup-python@v2
80
+
81
+ - name : Install PlatformIO
82
+ run : |
83
+ python -m pip install --upgrade pip
84
+ pip install --upgrade platformio
85
+
86
+ - name : Install library dependencies
87
+ run : pio lib -g install ANT
88
+
89
+ - name : Run PlatformIO
90
+ run : pio test -e native
You can’t perform that action at this time.
0 commit comments