kanidm/.github/workflows/pykanidm_pytest.yml
James Hodgkinson 805ac2dd16
Python module and rewritten RADIUS integration (#826)
* added python kanidm module
* rewrote RADIUS integration
* updated the documentation
* updating github actions to run more often
* BLEEP BLOOP ASYNCIO IS GR8
* adding config to makefile to run pykanidm tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Firstyear <william@blackhats.net.au>
2022-06-20 20:16:55 +10:00

29 lines
701 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@v2
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python ${{matrix.python_version}}
uses: actions/setup-python@v2
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