Skip to content

Commit

Permalink
Add codecov job
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Jul 16, 2024
1 parent e8c0e69 commit 2e214ca
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 107 deletions.
Binary file not shown.
103 changes: 0 additions & 103 deletions .github/workflows/fast_tests.yml

This file was deleted.

24 changes: 20 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,28 @@ on:
env:
CACHE_NUMBER: 0 # increase to reset cache manually
PYTEST_FLAGS: --tardis-refdata=${{ github.workspace }}/tardis-refdata --tardis-regression-data=${{ github.workspace }}/tardis-regression-data
--cov=tardis --cov-report=xml --cov-report=html
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

defaults:
run:
shell: bash -l {0}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true


jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
token: ${{ env.CODECOV_TOKEN }}
verbose: true

tests:
name: ${{ matrix.continuum }} continuum ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -49,9 +62,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup tardis
uses: ./.github/actions/setup_tardis
with:
- name: Setup LFS
uses: ./.github/actions/setup_lfs

- name: Setup environment
uses: ./.github/actions/setup_env
with:
os-label: ${{ matrix.label }}

- name: Install package editable
Expand Down

0 comments on commit 2e214ca

Please sign in to comment.