Skip to content

Commit

Permalink
ci: Install pytest properly
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 15, 2024
1 parent 1322eaf commit f9c4601
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,7 @@ jobs:
if: steps.metadata.outputs.module != 'wasm'

- name: Install pytest
run: |
if [ "${{ matrix.build }}" == "wasm-wasi-component" ]; then
pip install pytest
else
sudo -H pip install pytest
fi
run: sudo apt install -y python3-pytest
if: steps.metadata.outputs.module != 'wasm'

- name: Run ${{ steps.metadata.outputs.module }} tests
Expand Down

0 comments on commit f9c4601

Please sign in to comment.