Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Feb 14, 2024
1 parent 492a005 commit 704ad62
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 1.1.0-12-ge18b238
_commit: 1.1.0-14-g63d0f15
_src_path: gh:DiamondLightSource/python-copier-template
author_email: [email protected]
author_name: Tom Cobb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
pip-install: ".[dev]"

- name: Run tests
run: tox -e pytest
run: tox -e tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: needs.check.outputs.branch-pr == ''
uses: ./.github/workflows/_tox.yml
with:
tox: pre-commit,pyright
tox: pre-commit,type-checking

test:
needs: check
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ legacy_tox_ini = """
[tox]
skipsdist=True
[testenv:{pre-commit,pyright,pytest,docs}]
[testenv:{pre-commit,type-checking,tests,docs}]
# Don't create a virtualenv for the command, requires tox-direct plugin
direct = True
passenv = *
Expand All @@ -90,9 +90,9 @@ allowlist_externals =
sphinx-build
sphinx-autobuild
commands =
pytest: pytest --cov=python_copier_template_example --cov-report term --cov-report xml:cov.xml {posargs}
pyright: pyright src tests {posargs}
pre-commit: pre-commit run --all-files {posargs}
type-checking: pyright src tests {posargs}
tests: pytest --cov=python_copier_template_example --cov-report term --cov-report xml:cov.xml {posargs}
docs: sphinx-{posargs:build -EW --keep-going} -T docs build/html
"""

Expand Down

0 comments on commit 704ad62

Please sign in to comment.