Skip to content

Commit

Permalink
fix(devop): code coverage failing (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento007 authored Dec 11, 2024
1 parent a6c9086 commit c2f4979
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/push_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-cli
path: ./.coverage*
path: .coverage*
retention-days: 3
include-hidden-files: true

unit-tests-migration-assistant:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -88,8 +89,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-migration-assisstant
path: ./.coverage*
path: .coverage*
retention-days: 3
include-hidden-files: true

unit-test-ontology-dry-run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -119,8 +121,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-ontology-dry-run
path: ./.coverage*
path: .coverage*
retention-days: 3
include-hidden-files: true

unit-test-genes-dry-run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -150,8 +153,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-genes-dry-run
path: ./.coverage*
path: .coverage*
retention-days: 3
include-hidden-files: true

submit-codecoverage:
needs:
Expand Down Expand Up @@ -184,6 +188,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
files: ./coverage.xml
flags: unittests
Expand Down
27 changes: 27 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
comment:
layout: "header, diff, components"

component_management:
default_rules:
statuses:
- type: project
target: auto
branches:
- "!main"
individual_components:
- component_id: module_cellxgene_schema_cli
name: cellxgene_schema_cli
paths:
- cellxgene_schema_cli/**
- component_id: module_migration_assistant
name: migration_assistant
paths:
- scripts/migration_assistant/**
- component_id: module_schema_bump_dry_run_genes
name: schema_bump_dry_run_genes
paths:
- scripts/schema_bump_dry_run_genes/**
- component_id: module_schema_bump_dry_run_ontologies
name: schema_bump_dry_run_ontologies
paths:
- scripts/schema_bump_dry_run_ontologies/**

0 comments on commit c2f4979

Please sign in to comment.