Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayman committed Jan 15, 2024
1 parent 91d76c6 commit 6ea4e3c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@ jobs:
strategy:
matrix:
python-version:
- 2.7
- 3.5
- 3.6
- '3.8'
- '3.10'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '${{ matrix.python-version }}'
- name: 'Install dependencies'
run: "python -m pip install --upgrade pip\npip install tox tox-gh-actions\n"
- name: 'Test with tox'
run: tox
- uses: casperdcl/deploy-pypi@v1
- uses: casperdcl/deploy-pypi@v2
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.python-version == '2.7'
with:
password: ${{ secrets.pypi_token }}
build: true
build: true

0 comments on commit 6ea4e3c

Please sign in to comment.