Skip to content

👷 ci: Fix pypi publish #4

👷 ci: Fix pypi publish

👷 ci: Fix pypi publish #4

Workflow file for this run

name: Tests on PRs
on:
pull_request:
jobs:
test-flow:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Run Poetry image
uses: abatilo/[email protected]
with:
poetry-version: 1.7.1
- name: Install library
run: poetry install --no-interaction
- name: Run tests
run: poetry run pytest --cov-report xml:coverage.xml
- name: Get Cover
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}