Skip to content

Commit

Permalink
Update CI to include Python 3.11, 3.12 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 authored Jun 3, 2024
1 parent 880f88c commit 572de55
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ jobs:
image: python:3.9-slim
- python-version: '3.10'
image: python:3.10-slim
- python-version: '3.11'
image: python:3.11-slim
- python-version: '3.12'
image: python:3.12-slim

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Run tests
shell: bash
Expand All @@ -64,10 +68,10 @@ jobs:
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5

- name: Installing baseline packages
run: |
Expand All @@ -78,13 +82,13 @@ jobs:
run: python setup.py sdist bdist_wheel

- name: Capture Wheel and SDist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifact
path: dist/*

- name: Publish
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.event.release.tag_name, 'v')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down

0 comments on commit 572de55

Please sign in to comment.