File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python-version : ["3.9", "3.10", "3.11"]
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v2
16+
17+ - name : Install poetry
18+ run : pipx install poetry
19+
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+ cache : " poetry"
25+
26+ - name : Display Python version
27+ run : python -c "import sys; print(sys.version)"
28+
29+ - name : Install dependencies
30+ run : poetry install
31+
32+ - name : Run Code Quality checks
33+ run : make ci-check
34+
35+ - name : Run tests
36+ run : poetry run pytest
Original file line number Diff line number Diff line change 44 poetry run autoflake --in-place --recursive --remove-all-unused-imports --remove-duplicate-keys --remove-unused-variables .
55 poetry run pflake8 .
66 poetry run bandit .
7- poetry run safety check
7+ # poetry run safety check
88 poetry run mypy .
99
1010ci-check :
@@ -13,7 +13,7 @@ ci-check:
1313 poetry run autoflake --check .
1414 poetry run pflake8 .
1515 poetry run bandit .
16- poetry run safety check
16+ # poetry run safety check
1717 poetry run mypy .
1818
1919# ## catch all
You can’t perform that action at this time.
0 commit comments