From a33b86a4ee23f94bfe3ac0cbf1fd8c815b48e407 Mon Sep 17 00:00:00 2001 From: Sergey Zhuk Date: Fri, 3 Nov 2023 15:57:54 +0000 Subject: [PATCH] ci: fix pdm usage --- .github/workflows/docs.yml | 2 +- .github/workflows/tests.yml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0a2fc564..0b1056ef 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,4 +30,4 @@ jobs: - name: Deploy docs run: | cd docs/ - mkdocs gh-deploy --force + pdm run mkdocs gh-deploy --force diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a9526b8..e66b3262 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,8 +52,7 @@ jobs: - name: Run functional tests run: | cd tests/ - pytest --junitxml report.xml --cov=. -vv - + pdm run pytest --junitxml report.xml --cov=. -vv run_pytests_windows: name: Windows @@ -85,5 +84,4 @@ jobs: - name: Test with pytest run: | - cd tests/ - python -m pytest -vv + pdm run pytest -vv