Skip to content

Fix issue in workflow file. #4

Fix issue in workflow file.

Fix issue in workflow file. #4

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write # required to commit the badge
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install package
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -e .[dev]
- name: Run tests with coverage
run: pytest --cov=pome --cov-report=xml
- name: Generate coverage badge
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
uses: we-cli/coverage-badge-action@main