Skip to content

Commit a9a7fc5

Browse files
committed
ci: enable windows test
1 parent facac97 commit a9a7fc5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test-build-idf-apps.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- 'idf_build_apps/**'
7+
- '.github/workflows/test-build-idf-apps.yml'
78
push:
89
branches:
910
- main
@@ -60,7 +61,10 @@ jobs:
6061
test ! -f build_esp32s2/hello_world.bin
6162
6263
build-apps-on-idf-master:
63-
runs-on: ubuntu-latest
64+
strategy:
65+
matrix:
66+
os: [ubuntu-latest, windows-latest]
67+
runs-on: ${{ matrix.os }}
6468
container:
6569
image: espressif/idf:latest
6670
env:
@@ -78,7 +82,7 @@ jobs:
7882
--size-file size_info.json
7983
pytest --cov idf_build_apps --cov-report term-missing:skip-covered --junit-xml pytest.xml | tee pytest-coverage.txt
8084
- name: Pytest coverage comment
81-
if: github.event_name == 'pull_request'
85+
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest'
8286
uses: MishaKav/pytest-coverage-comment@main
8387
with:
8488
pytest-coverage-path: pytest-coverage.txt

0 commit comments

Comments
 (0)