Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
And test with Python 3.12
  • Loading branch information
jonathansick committed May 2, 2024
1 parent 43083de commit 87f376e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Run pre-commit
uses: pre-commit/[email protected].0
uses: pre-commit/[email protected].1

test:
runs-on: ubuntu-latest
Expand All @@ -38,6 +38,7 @@ jobs:
matrix:
python:
- '3.11'
- '3.12'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
- name: Run tox
uses: lsst-sqre/run-tox@v1
with:
python-version: '3.11'
python-version: '3.12'
tox-envs: 'demo,docs'
# tox-envs: "docs,docs-linkcheck"

Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v2
with:
python-version: '3.11'
python-version: '3.12'
upload: false

pypi:
Expand Down Expand Up @@ -149,4 +150,4 @@ jobs:
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v2
with:
python-version: '3.11'
python-version: '3.12'
5 changes: 3 additions & 2 deletions .github/workflows/periodic-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
matrix:
python:
- '3.11'
- '3.12'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -46,7 +47,7 @@ jobs:
- name: Build docs in tox
uses: lsst-sqre/run-tox@v1
with:
python-version: '3.11'
python-version: '3.12'
tox-envs: 'demo,docs,docs-linkcheck'
use-cache: false

Expand All @@ -62,5 +63,5 @@ jobs:
- name: Build and publish
uses: lsst-sqre/build-and-publish-to-pypi@v2
with:
python-version: '3.11'
python-version: '3.12'
upload: false

0 comments on commit 87f376e

Please sign in to comment.