Skip to content

fix: Fixed workflows names #4

fix: Fixed workflows names

fix: Fixed workflows names #4

Workflow file for this run

name: Release
on:
push:
branches: [ master ]
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create venv
run: make venv
- name: Run tests
run: make test
publish:
name: "Publish in PyPi"
runs-on: ubuntu-latest
needs:
- test
steps:
- uses: actions/checkout@v3
- name: Publish
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
run: |
pip3 install wheel twine
python3 setup.py sdist bdist_wheel
python3 -m twine check dist/*
python3 -m twine upload --skip-existing dist/* --verbose -u ${USERNAME} -p ${PASSWORD}