From 7cb4e60eff88ff6c8b74b2dd530ee394c6c728c2 Mon Sep 17 00:00:00 2001 From: Ian Kenney Date: Mon, 24 Jul 2023 11:10:52 -0700 Subject: [PATCH] Use --pyargs for pytest command in workflow --- .github/workflows/gh-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 6b5b948..1ab0345 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -101,7 +101,7 @@ jobs: - name: Run tests run: | - pytest -n 2 -v --cov=mdaencore --cov-report=xml --color=yes mdaencore/tests/ + pytest -n 2 -v --cov=mdaencore --cov-report=xml --color=yes --pyargs mdaencore - name: codecov if: github.repository == 'MDAnalysis/mdaencore' && github.event_name != 'schedule'