Skip to content

Commit

Permalink
Merge pull request #83 from ImperialCollegeLondon/codecov
Browse files Browse the repository at this point in the history
Configure codecov to show coverage
  • Loading branch information
cc-a authored Sep 19, 2024
2 parents 39e53a7 + 5c5d189 commit 3ad7ce8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,11 @@ jobs:
run: poetry install

- name: Run tests
run: poetry run pytest
run: poetry run pytest --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# dune_processes
<!-- markdownlint-disable MD041 -->
[![GitHub](https://img.shields.io/github/license/ImperialCollegeLondon/dune_processes)](https://raw.githubusercontent.com/ImperialCollegeLondon/dune_processes/main/LICENSE)
[![Test and build](https://github.com/ImperialCollegeLondon/dune_processes/actions/workflows/ci.yml/badge.svg)](https://github.com/ImperialCollegeLondon/dune_processes/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/ImperialCollegeLondon/dune_processes/graph/badge.svg?token=PG0WTYF8EY)](https://codecov.io/gh/ImperialCollegeLondon/dune_processes)

This repo defines the web app for the Dune Process Manager web interface.
# DUNE processes web interface

This repo defines the web interface for the DUNE Process Manager.

## For developers

Expand Down
9 changes: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Don't fail CI if coverage drops
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true

0 comments on commit 3ad7ce8

Please sign in to comment.