Skip to content

Commit

Permalink
feat: drop testing on Python 3.6 and 3.7 (#401)
Browse files Browse the repository at this point in the history
- Drop testing for unsupported Python versions
- Use ubuntu-22.04 for GHA runners
  • Loading branch information
Victoremepunto authored Jul 8, 2024
1 parent 754c8db commit 7bf5923
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-and-publish:
name: Build and publish to PyPI
if: startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment:
name: release
url: https://pypi.org/p/crc-bonfire
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:

- name: Checkout to master
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
path: dist

build_check:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [build]
steps:
- uses: actions/setup-python@v5
Expand All @@ -51,12 +51,12 @@ jobs:
- run: pipx run twine check --strict dist/*

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [build]
strategy:
matrix:
# todo: extract from source
python-version: [ 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12' ]
python-version: [ 3.8, 3.9, '3.10', '3.11', '3.12' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 7bf5923

Please sign in to comment.