-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from nipy/mnt/python-support
MNT: Drop Python 3.7 support, test through 3.11
- Loading branch information
Showing
10 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,18 +11,18 @@ jobs: | |
strategy: | ||
max-parallel: 5 | ||
matrix: | ||
python-version: [3.7, 3.8, 3.9] | ||
python-version: ['3.8', '3.9', '3.10', '3.11'] | ||
|
||
steps: | ||
- name: Git settings (pacify DataLad) | ||
run: | | ||
git config --global user.name 'NiPreps Bot' | ||
git config --global user.email '[email protected]' | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
id: conda | ||
with: | ||
path: | | ||
|
@@ -33,10 +33,10 @@ jobs: | |
python-${{ matrix.python-version }}- | ||
- name: Install DataLad | ||
run: | | ||
$CONDA/bin/conda install -c conda-forge git-annex datalad pip codecov pytest | ||
$CONDA/bin/conda install -c conda-forge git-annex datalad pip pytest | ||
$CONDA/bin/python -m pip install datalad-osf | ||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ env.TEST_DATA_HOME }} | ||
key: data-cache-v2 | ||
|
@@ -53,7 +53,7 @@ jobs: | |
$CONDA/bin/datalad update --merge -d nitransforms-tests/ | ||
$CONDA/bin/datalad get -d nitransforms-tests/ | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Install minimal dependencies | ||
run: | | ||
$CONDA/bin/pip install .[tests] | ||
|
@@ -62,5 +62,6 @@ jobs: | |
$CONDA/bin/pytest -v --cov nitransforms --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules nitransforms/ | ||
- name: Submit code coverage | ||
run: | | ||
$CONDA/bin/python -m codecov --flags travis --file cov.xml -e $GITHUB_RUN_NUMBER | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: cov.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters