Skip to content

Commit b939603

Browse files
committed
Add linting
1 parent d7c3e6d commit b939603

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/tests.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ jobs:
1010
- name: Install
1111
uses: abatilo/[email protected]
1212
with:
13-
python_version: 3.8.0
13+
python_version: 3.8.3
1414
poetry_version: 1.0
15-
working_directory: ./working_dir # Optional, defaults to '.'
1615
args: install
16+
- name: Lint
17+
uses: abatilo/[email protected]
18+
with:
19+
python_version: 3.8.3
20+
poetry_version: 1.0
21+
args: run pre-commit run --all-files
1722
- name: Run pytest
1823
uses: abatilo/[email protected]
1924
with:
20-
python_version: 3.8.0
25+
python_version: 3.8.3
2126
poetry_version: 1.0
22-
working_directory: ./working_dir
23-
args: run python -m pytest --cov=src --cov-branch --cov-fail-under=75 tests/
27+
args: run pytest

0 commit comments

Comments
 (0)