From f9c4601d9cf8be5f375194189579d73308855dfc Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Tue, 15 Oct 2024 22:29:51 +0100 Subject: [PATCH] ci: Install pytest properly Signed-off-by: Andrew Clayton --- .github/workflows/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7d0e715d..5c7052c07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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