Merge pull request #300 from jvllmr/patch-1 #191
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dusky-python-ci | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: 'x64' | |
- uses: Gr1N/setup-poetry@v8 | |
with: | |
poetry-version: 1.4.1 | |
- name: install | |
run: poetry install | |
- name: test | |
run: poetry run pytest tests | |
- name: lint-src | |
run: poetry run ruff flask_praetorian | |
- name: lint-tests | |
run: poetry run ruff tests |