From dfe8da8eae143ac904dc2225f00b98cca401aa73 Mon Sep 17 00:00:00 2001 From: Daniel Herrmann Date: Wed, 3 Jan 2024 17:24:51 +0100 Subject: [PATCH] build: rename job and use poetry to run pytest --- .github/workflows/pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 4598ae9..80a2ebe 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -3,7 +3,7 @@ name: PyTest Tests on: [push, pull_request] jobs: - lint: + test: runs-on: ubuntu-22.04 timeout-minutes: 10 @@ -20,4 +20,4 @@ jobs: - name: Install dependencies run: poetry install --with dev - name: Run pytest - run: pytest --junitxml=junit/test-results.xml --cov=easyverein --cov-report=xml --cov-report=html + run: poetry run pytest --junitxml=junit/test-results.xml --cov=easyverein --cov-report=xml --cov-report=html