From 116b0de8e6611b1be50879763cb32b142ea59b43 Mon Sep 17 00:00:00 2001 From: Dylan Morgan Date: Thu, 31 Oct 2024 00:26:44 +0000 Subject: [PATCH] Changed pytest to run under poetry --- .github/workflows/interrogate.yaml | 1 + .github/workflows/pytest.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/interrogate.yaml diff --git a/.github/workflows/interrogate.yaml b/.github/workflows/interrogate.yaml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/.github/workflows/interrogate.yaml @@ -0,0 +1 @@ +# TODO diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 5f2a48c..62e0a13 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -33,7 +33,7 @@ jobs: - name: Install the project dependencies run: poetry install --with=dev - name: Run the tests - run: pytest tests --cov=dfttools --cov-report xml + run: poetry run -- pytest tests --cov=dfttools --cov-report xml # TODO when approved for the maurergroup organisation # - name: Coveralls GitHub Action