fix: Fixed typing #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
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} |