mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
30 lines
705 B
YAML
30 lines
705 B
YAML
---
|
|
name: pykanidm - pytest
|
|
|
|
"on":
|
|
push:
|
|
pull_request:
|
|
jobs:
|
|
pykanidm_pytest:
|
|
strategy:
|
|
matrix:
|
|
python_version:
|
|
- "3.8"
|
|
- "3.9"
|
|
- "3.10"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
|
- name: Set up Python ${{matrix.python_version}}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{matrix.python_version}}
|
|
- name: Running pytest
|
|
run: |
|
|
cd pykanidm
|
|
python -m pip install --quiet --no-cache-dir --upgrade poetry
|
|
poetry install
|
|
poetry run pytest -v
|