diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3be0b5c..6064972 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 @@ -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 \ No newline at end of file + pytest tests/ -v