Skip to content

Commit 65a0d5a

Browse files
committed
Fix python version in CI
1 parent b8b58e9 commit 65a0d5a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
- uses: actions/checkout@v2
1717
- name: Install dependencies
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install setuptools wheel twine
21-
pip install -r requirements.txt
19+
python3 -m pip install --upgrade pip
20+
python3 -m pip install setuptools wheel twine
21+
pip3 install -r requirements.txt
2222
- name: Run linter
23-
run: python -m pylint wheatley/**/*.py
23+
run: python3 -m pylint wheatley/**/*.py
2424
- name: Run tests
25-
run: python -m pytest
25+
run: python3 -m pytest
2626
- name: Run fuzzer
2727
run: ./fuzz
2828
- name: Make version file
@@ -34,5 +34,5 @@ jobs:
3434
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3535
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3636
run: |
37-
python setup.py sdist bdist_wheel
38-
twine upload dist/*
37+
python3 setup.py sdist bdist_wheel
38+
python3 -m twine upload dist/*

0 commit comments

Comments
 (0)