From 376ecab9ce07c8888f5e5bde0318b49e4a077a26 Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Mon, 1 Jul 2024 15:58:49 +0200 Subject: [PATCH] install pytest --- .github/workflows/linting_and_fixing.yml | 2 +- .github/workflows/linting_only.yml | 2 +- .github/workflows/tests_and_cov.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linting_and_fixing.yml b/.github/workflows/linting_and_fixing.yml index f58366d..81fd2e2 100644 --- a/.github/workflows/linting_and_fixing.yml +++ b/.github/workflows/linting_and_fixing.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: diff --git a/.github/workflows/linting_only.yml b/.github/workflows/linting_only.yml index 3b44418..8aac8b0 100644 --- a/.github/workflows/linting_only.yml +++ b/.github/workflows/linting_only.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: diff --git a/.github/workflows/tests_and_cov.yml b/.github/workflows/tests_and_cov.yml index b0cb5d1..1bdcb55 100644 --- a/.github/workflows/tests_and_cov.yml +++ b/.github/workflows/tests_and_cov.yml @@ -47,8 +47,8 @@ jobs: path: ${{ env.pythonLocation }} key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }} - - name: Install the HTML 2 PDF renderer - run: sudo apt-get update || true && sudo apt-get install -y wkhtmltopdf + - name: Install pytest + run: pip install pytest - name: Run pytest run: pytest --cov --rootdir=/home/runner/work/stranger