Skip to content

Commit

Permalink
chore: update python versions, rm 2.7 (#26)
Browse files Browse the repository at this point in the history
remove python2.7 since it is no longer being used. Update other Python versions.
  • Loading branch information
pabloge committed Dec 18, 2023
1 parent 33a078a commit 48cc8cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand All @@ -34,14 +34,14 @@ jobs:
run: |
make build
- name: lint
if: ${{ matrix.python-version == '3.10' }}
if: ${{ matrix.python-version == '3.12' }}
run: |
make lint
- name: test
run: |
make test
- name: pypi-release
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == '3.10' }}
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == '3.12' }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 48cc8cb

Please sign in to comment.