name: release on: push: branches: - master jobs: test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Build package run: python3 -m pip install --upgrade build && python3 -m build - name: Test run: python3 -m pip install -r requirements-dev.txt && pytest