Skip to content
Closed
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
32 changes: 4 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:

permissions:
contents: read
id-token: write # required for OIDC
checks: write # optional: to publish a GitHub Check summary
pull-requests: write # optional

jobs:
test:
Expand All @@ -21,7 +18,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 } # let Codecov resolve parents

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -33,28 +29,8 @@ jobs:
python -m pip install --upgrade pip
pip install -e .[dev]

- name: Run tests with coverage (JIT disabled)
env: { NUMBA_DISABLE_JIT: 1 }
- name: Run tests (JIT disabled)
env:
NUMBA_DISABLE_JIT: 1
run: |
pytest tests/ --cov=finmlkit --cov-report=xml:coverage.xml -v

- name: Debug SHAs
run: |
echo "GITHUB_SHA=$GITHUB_SHA"
git rev-parse HEAD
git show -s --pretty=reference HEAD

# Upload from a single matrix job to avoid merge/fan-in issues
- name: Upload coverage to Codecov (OIDC, single job)
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v5
with:
use_oidc: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
override_branch: ${{ github.head_ref || github.ref_name }}
override_commit: ${{ github.sha }}
override_pr: ${{ github.event.number }}
fail_ci_if_error: true
verbose: true
pytest tests/ -v
Loading