File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change @@ -16,24 +16,19 @@ description = Run tests
1616deps =
1717 poetry
1818
19+ [testenv:format]
20+ description = Format code
1921commands =
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 ]
3327description = Check linters for failure
3428commands =
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}
You can’t perform that action at this time.
0 commit comments