Skip to content

Commit

Permalink
putest
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
  • Loading branch information
ac000 committed Oct 16, 2024
1 parent 8e2f442 commit 21261da
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,17 @@ jobs:
if: steps.metadata.outputs.module != 'wasm'

- name: Install pytest
run: sudo apt install -y python3-pytest
run: |
sudo apt install -y python3-pytest
dpkg -L python3-pytest
if: steps.metadata.outputs.module != 'wasm'

- name: Run ${{ steps.metadata.outputs.module }} tests
run: |
if [ "${{ matrix.build }}" == "wasm-wasi-component" ]; then
pytest --print-log ${{ steps.metadata.outputs.testpath }}
pytest-3 --print-log ${{ steps.metadata.outputs.testpath }}
else
sudo -E pytest --print-log ${{ steps.metadata.outputs.testpath }}
sudo -E pytest-3 --print-log ${{ steps.metadata.outputs.testpath }}
fi
if: steps.metadata.outputs.module != 'wasm'

0 comments on commit 21261da

Please sign in to comment.