Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9881255

Browse filesBrowse files
committed
Run examples as part of the build
1 parent 55afa55 commit 9881255
Copy full SHA for 9881255

File tree

Expand file treeCollapse file tree

1 file changed

+31
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+31
-2
lines changed

‎.github/workflows/check.yaml

Copy file name to clipboardExpand all lines: .github/workflows/check.yaml
+31-2Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,40 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [ubuntu-20.04]
11+
os: [ubuntu-20.04, ubuntu-22.04]
1212
steps:
1313
-
1414
name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
-
1717
name: Tests
1818
run: make
19+
20+
examples:
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
os: [ubuntu-20.04, ubuntu-22.04]
26+
example: [mock-injection, wiring-blink]
27+
steps:
28+
-
29+
name: Checkout
30+
uses: actions/checkout@v3
31+
-
32+
uses: actions/cache@v3
33+
with:
34+
path: |
35+
~/.cache/pip
36+
~/.platformio/.cache
37+
key: ${{ runner.os }}-pio
38+
-
39+
uses: actions/setup-python@v4
40+
with:
41+
python-version: '3.9'
42+
-
43+
name: Install PlatformIO Core
44+
run: pip install --upgrade platformio
45+
-
46+
name: Tests
47+
run: pio test -d examples/wiring-blink/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.