Skip to content

Commit

Permalink
ci: enable windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
hfudev committed Jan 21, 2025
1 parent facac97 commit a9a7fc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-build-idf-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- 'idf_build_apps/**'
- '.github/workflows/test-build-idf-apps.yml'
push:
branches:
- main
Expand Down Expand Up @@ -60,7 +61,10 @@ jobs:
test ! -f build_esp32s2/hello_world.bin
build-apps-on-idf-master:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
container:
image: espressif/idf:latest
env:
Expand All @@ -78,7 +82,7 @@ jobs:
--size-file size_info.json
pytest --cov idf_build_apps --cov-report term-missing:skip-covered --junit-xml pytest.xml | tee pytest-coverage.txt
- name: Pytest coverage comment
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest'
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: pytest-coverage.txt
Expand Down

0 comments on commit a9a7fc5

Please sign in to comment.