Skip to content

Commit 7a8fbaa

Browse files
committed
Fix missing pytest execution
1 parent 832ca42 commit 7a8fbaa

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Check linters for failure
3030
run: |
3131
poetry run pip install tox-gh-actions
32-
poetry run tox -echeck
32+
poetry run tox -elint
3333
- name: Upload code coverage
3434
uses: codecov/codecov-action@v2
3535
with:

tox.ini

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,19 @@ description = Run tests
1616
deps =
1717
poetry
1818

19+
[testenv:format]
20+
description = Format code
1921
commands =
20-
poetry install --with dev
21-
pytest --cov-report term-missing --cov-report=xml:./coverage.xml term-missing --cov=gitea_github_sync tests/ {posargs}
22-
23-
[testenv:lint]
24-
description = Run all linting tasks
25-
commands =
2622
poetry install --with dev
2723
black .
28-
mypy -p gitea_github_sync --install-types --non-interactive
2924
isort .
30-
flake8 gitea_github_sync tests
3125

32-
[testenv:check]
26+
[testenv:lint]
3327
description = Check linters for failure
3428
commands =
3529
poetry install --with dev
3630
black --check .
37-
mypy -p gitea_github_sync --install-types --non-interactive
3831
isort -c .
3932
flake8 gitea_github_sync tests
33+
mypy -p gitea_github_sync --install-types --non-interactive
34+
pytest --cov-report term-missing --cov-report=xml:./coverage.xml term-missing --cov=gitea_github_sync tests/ {posargs}

0 commit comments

Comments
 (0)