Skip to content

Commit

Permalink
Adjust python versions used for Test Job
Browse files Browse the repository at this point in the history
  • Loading branch information
karjanme committed Jun 5, 2024
1 parent 483681f commit cf3ebdb
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -74,32 +77,3 @@ jobs:
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

release:
name: Release Job
runs-on: ubuntu-latest
needs: [lint, test]
if: ${{ success() && github.ref == 'refs/heads/master' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: actions/setup-python@v1
with:
python-version: "3.x"
- name: Install
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Package
run: |
pip install setuptools wheel
python setup.py bdist_wheel
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
twine upload dist/*

0 comments on commit cf3ebdb

Please sign in to comment.