Skip to content

Commit baed4d5

Browse files
authored
Merge pull request #247 from fooof-tools/actions
[MNT] - Update actions versions
2 parents 06c891f + 4fc7333 commit baed4d5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ on:
1111
jobs:
1212
build:
1313

14-
runs-on: ubuntu-latest
14+
# Tag ubuntu version to 20.04, in order to support python 3.6
15+
# See issue: https://github.com/actions/setup-python/issues/544
16+
# When ready to drop 3.6, can revert from 'ubuntu-20.04' -> 'ubuntu-latest'
17+
runs-on: ubuntu-20.04
1518
env:
1619
MODULE_NAME: fooof
1720
strategy:
1821
matrix:
19-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
22+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
2023

2124
steps:
22-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2326
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@v4
2528
with:
2629
python-version: ${{ matrix.python-version }}
2730
- name: Install dependencies
@@ -38,4 +41,4 @@ jobs:
3841
run: |
3942
pytest --doctest-modules --ignore=$MODULE_NAME/tests $MODULE_NAME
4043
- name: Upload coverage to Codecov
41-
uses: codecov/codecov-action@v1
44+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)