Skip to content

remove hello.py file #15

remove hello.py file

remove hello.py file #15

Workflow file for this run

name: Tests
on: [push]
jobs:
tests:
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install UV
run: astral-sh/setup-uv@v5
python-version: ${{ matrix.python-version }}

Check failure on line 18 in .github/workflows/pytest.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/pytest.yml (Line: 18, Col: 9): Unexpected value 'python-version'
- uses: astral-sh/ruff-action@v3
- name: Run the tests
run: pytest --cov --cov-report=json:coverage.json tests/
- name: Extract coverage
run: echo "total=$(cat coverage.json | jq -r '.totals.percent_covered_display')" >> $GITHUB_ENV
- name: "Make badge"
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}
gistID: 88ae1c5c4c732ba28346b3fac87b44a3
filename: covbadge.json
label: Coverage
message: ${{ env.total }}%
minColorRange: 50
maxColorRange: 90
valColorRange: ${{ env.total }}