Skip to content

Commit 5636318

Browse files
committed
Add pio test job and windows-latest
1 parent 85bfb7a commit 5636318

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/check.yaml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
name: Check
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
branches:
10+
- main
11+
- master
412

513
jobs:
614
build:
715
runs-on: ${{ matrix.os }}
816
strategy:
917
fail-fast: false
1018
matrix:
11-
os: [ubuntu-22.04]
19+
os: [ubuntu-22.04, windows-latest]
1220
steps:
1321
-
1422
name: Checkout
15-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
1624
-
1725
name: Tests
1826
run: make
@@ -27,7 +35,7 @@ jobs:
2735
steps:
2836
-
2937
name: Checkout
30-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3139
-
3240
uses: actions/cache@v3
3341
with:
@@ -43,5 +51,8 @@ jobs:
4351
name: Install PlatformIO Core
4452
run: pip install --upgrade platformio
4553
-
46-
name: Tests
54+
name: Build example
4755
run: pio test -d examples/wiring-blink/
56+
-
57+
name: Build Tests
58+
run: pio test

0 commit comments

Comments
 (0)