diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a6958f..f0c1b6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,8 @@ on: workflow_dispatch: jobs: - test-api: - name: test commit + tests: + name: Test IPM runs-on: ubuntu-latest permissions: id-token: write @@ -17,18 +17,14 @@ jobs: with: python-version: "3.9" - - name: setup pdm - run: pip install pdm - - - run: pdm install - - - name: install test deps + - name: Setup PDM run: | - pdm install -dG test - # pip install pytest - - - name: test api + pip install pdm + pdm add pytest + + - name: Install IPM + run: pdm install + + - name: Test API run: | - cd tests - pdm venv activate in-project - pdm run test-api.py
\ No newline at end of file + pdm run python -m pytest tests/ |
