bumping version for pip #16
This file contains hidden or 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: Testing | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| id-token: write # Required for OpenID Connect authentication | |
| contents: read | |
| jobs: | |
| testing: | |
| name: Running pytest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - uses: Gr1N/setup-poetry@v8 | |
| - uses: actions/[email protected] | |
| with: | |
| path: ~/.cache/pypoetry/virtualenvs | |
| key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
| - run: poetry --version | |
| - run: poetry install | |
| - run: poetry build | |
| - run: poetry run pytest |