From 6cd7f3a95ab8e88bd83c4490c62eb80b5b008775 Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Mon, 28 Nov 2022 22:08:43 -0500 Subject: [PATCH 1/3] update actions versions --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e99a55a71..3984f4809 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,9 +19,9 @@ jobs: python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -38,4 +38,4 @@ jobs: run: | pytest --doctest-modules --ignore=$MODULE_NAME/tests $MODULE_NAME - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 From a33d5f73b659c85f92c2d2eb6a790ebe82823532 Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Mon, 28 Nov 2022 22:38:59 -0500 Subject: [PATCH 2/3] try testing against 3.11 --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3984f4809..fe8e2d968 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,8 @@ jobs: MODULE_NAME: fooof strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + #python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] steps: - uses: actions/checkout@v3 From 4fc7333ad7d555d5917b35b26ce63bde28e7e131 Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Mon, 28 Nov 2022 23:49:36 -0500 Subject: [PATCH 3/3] tag ubuntu version for 3.6 --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe8e2d968..6e7cec450 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,13 +11,15 @@ on: jobs: build: - runs-on: ubuntu-latest + # Tag ubuntu version to 20.04, in order to support python 3.6 + # See issue: https://github.com/actions/setup-python/issues/544 + # When ready to drop 3.6, can revert from 'ubuntu-20.04' -> 'ubuntu-latest' + runs-on: ubuntu-20.04 env: MODULE_NAME: fooof strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] - #python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3