Skip to content

Commit

Permalink
Test on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Feb 11, 2025
1 parent 8766e58 commit bf48613
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,24 @@ jobs:
debug-${{ matrix.environment }}.zip
if-no-files-found: error

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.4
target: esp32s3
command: idf.py build
path: test

- name: esp-idf test
run: |
docker run --rm -it -v .:/project -w /project/test -e HOME=/tmp -e WOKWI_CLI_TOKEN=${{ secrets.WOKWI_CLI_TOKEN }} lptr/pytest-embedded:latest pytest --embedded-services idf,wokwi ./pytest_catch2.py
release:
needs: build
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit bf48613

Please sign in to comment.