Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
strategy:
fail-fast: false
matrix:
Expand All @@ -27,7 +30,7 @@ jobs:
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest coverage
python -m pip install -e . pytest coverage
- name: Run tests
env:
PYTHONPATH: .
Expand All @@ -40,9 +43,10 @@ jobs:
- name: Emit coverage XML
run: python -m coverage xml -o coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v6
with:
files: ./coverage.xml
flags: py312
use_oidc: true
fail_ci_if_error: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Standalone extraction of the Fortran parser used for wrapper-oriented signature
extraction.

[![Tests](https://github.com/saidctb/x2py/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/saidctb/x2py/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/saidctb/x2py/branch/main/graph/badge.svg)](https://codecov.io/gh/saidctb/x2py)
[![Tests](https://github.com/PyNumLab/x2py/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/PyNumLab/x2py/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/PyNumLab/x2py/branch/main/graph/badge.svg)](https://codecov.io/gh/PyNumLab/x2py)


## What the parser handles
Expand Down
Loading