Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
- npe2
workflow_dispatch:

env:
FORCE_COLOR: 1

jobs:
test:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
Expand Down Expand Up @@ -62,7 +65,14 @@ jobs:
PLATFORM: ${{ matrix.platform }}

- name: Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
token: be4e7201-27a9-4b44-a4a6-ff2903872cf1
files: .tox/*/coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true


deploy:
# this will run when you have tagged a commit, starting with "v*"
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py{39,310,311,312}-{linux,macos,windows}
envlist = py{39,310,311,312,313}-{linux,macos,windows}
isolated_build=true

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
Expand All @@ -30,4 +31,7 @@ passenv =
PYVISTA_OFF_SCREEN
extras =
testing
commands = pytest -v --color=yes --cov={{module_name}} --cov-report=xml
commands = pytest -v --color=yes --cov=platemapper --cov-report=xml

[coverage:run]
branch = True