diff options
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f0c1b6c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +on: + push: + workflow_dispatch: + +jobs: + tests: + name: Test IPM + runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.9" + + - name: Setup PDM + run: | + pip install pdm + pdm add pytest + + - name: Install IPM + run: pdm install + + - name: Test API + run: | + pdm run python -m pytest tests/ |
