summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a7d0e715..672b82e0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -360,18 +360,15 @@ jobs:
- name: Install pytest
run: |
- if [ "${{ matrix.build }}" == "wasm-wasi-component" ]; then
- pip install pytest
- else
- sudo -H pip install pytest
- fi
+ sudo apt install -y 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'