Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python 3.12 version #72

Merged
merged 8 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,19 @@ jobs:
release:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2

- name: Setup Python Version
id: setup-python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "${{ matrix.python-version }}"

- name: Install Poetry
uses: snok/install-poetry@v1
Expand Down Expand Up @@ -46,7 +52,7 @@ jobs:
# Only do these on push

- name: Run Integration Tests
if: github.event_name == 'push'
if: github.event_name == 'push' && startsWith(steps.setup-python.outputs.python-version, '3.8')
env:
DRY_RUN_SVC_JSON: ${{ secrets.DRY_RUN_SVC_JSON }}
run: |
Expand All @@ -55,7 +61,7 @@ jobs:
make integration

- name: Publish package to TestPyPI
if: github.event_name == 'push'
if: github.event_name == 'push' && startsWith(steps.setup-python.outputs.python-version, '3.8')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand All @@ -64,7 +70,7 @@ jobs:
skip_existing: true

- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(steps.setup-python.outputs.python-version, '3.8')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down
Loading