Skip to content

Commit 9482e41

Browse files
committed
CI: Update actions, test on Python 3.10
1 parent 2af52c1 commit 9482e41

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
python-version: [3.7, 3.9] # Check oldest and newest versions
25+
python-version: [3.7, '3.10'] # Check oldest and newest versions
2626
pip-flags: ['', '--editable']
2727
pydra:
2828
- 'pydra'
2929
- '--editable git+https://github.com/nipype/pydra.git#egg=pydra'
3030

3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v2
34+
uses: actions/setup-python@v4
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
- name: Install build dependencies
@@ -51,12 +51,12 @@ jobs:
5151
runs-on: ubuntu-latest
5252
strategy:
5353
matrix:
54-
python-version: [3.7, 3.8, 3.9]
54+
python-version: [3.7, 3.8, 3.9, '3.10']
5555

5656
steps:
57-
- uses: actions/checkout@v2
57+
- uses: actions/checkout@v3
5858
- name: Set up Python ${{ matrix.python-version }}
59-
uses: actions/setup-python@v2
59+
uses: actions/setup-python@v4
6060
with:
6161
python-version: ${{ matrix.python-version }}
6262
- name: Install build dependencies
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
pytest -sv --doctest-modules pydra/tasks/$SUBPACKAGE \
7373
--cov pydra.tasks.$SUBPACKAGE --cov-report xml
74-
- uses: codecov/codecov-action@v1
74+
- uses: codecov/codecov-action@v3
7575
if: ${{ always() }}
7676

7777

@@ -82,12 +82,12 @@ jobs:
8282
matrix:
8383
python-version: [3.9]
8484
steps:
85-
- uses: actions/checkout@v2
85+
- uses: actions/checkout@v3
8686
with:
8787
submodules: recursive
8888
fetch-depth: 0
8989
- name: Set up Python ${{ matrix.python-version }}
90-
uses: actions/setup-python@v2
90+
uses: actions/setup-python@v4
9191
with:
9292
python-version: ${{ matrix.python-version }}
9393
- name: Install build tools
@@ -96,7 +96,7 @@ jobs:
9696
run: python -m build
9797
- name: Check distributions
9898
run: twine check dist/*
99-
- uses: actions/upload-artifact@v2
99+
- uses: actions/upload-artifact@v3
100100
with:
101101
name: distributions
102102
path: dist/

0 commit comments

Comments
 (0)