Skip to content

Commit

Permalink
[ENH] update GitHub Actions workflows to streamline dataset fetching …
Browse files Browse the repository at this point in the history
…and reduce Python versions in plotting tests
  • Loading branch information
liuzhenqi77 committed Nov 20, 2024
1 parent a204ac2 commit a60ddb0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests-datasets-fetcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: netneurotools-tests

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'netneurotools/datasets/**'
pull_request:
branches:
- main
paths:
- 'netneurotools/datasets/**'
push:
branches:
- main
paths:
- 'netneurotools/datasets/**'
pull_request:
branches:
- main
paths:
- 'netneurotools/datasets/**'

jobs:
check_style:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-plotting-pyvista.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Print netneurotools version
run: python -c "import netneurotools; print(netneurotools.__version__)"
- name: Run tests
run: pytest --doctest-modules --cov=netneurotools --cov-report=xml --junitxml=junit/test-results.xml --verbose -m pyvista
run: pytest --doctest-modules --junitxml=junit/test-results.xml --verbose -m pyvista
- name: Upload pytest test results
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a60ddb0

Please sign in to comment.