Skip to content

CI python 3.10 tests #4

CI python 3.10 tests

CI python 3.10 tests #4

name: Upload Python Package
on:
push:
branches:
- issue-160
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python3 -m venv venv
. venv/bin/activate
pip install setuptools wheel twine
pip install -r requirements.txt
- name: run tests
env:
RETRY_ATTEMPTS: 1
with:
python-version: '3.10'
run: |

Check failure on line 33 in .github/workflows/python_publish.yaml

View workflow run for this annotation

GitHub Actions / Upload Python Package

Invalid workflow file

The workflow is not valid. .github/workflows/python_publish.yaml (Line: 33, Col: 7): Unexpected value 'run' .github/workflows/python_publish.yaml (Line: 28, Col: 7): Required property is missing: uses
python -m pip install --upgrade pip
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
pip install nose2
nose2
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.p_y bdist_wheel --universal
twine upload dist/*