diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 69dcef7..d86927c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -70,10 +70,10 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./coverage.xml - flags: main + flags: cpython env_vars: OS,PYTHON name: codecov-umbrella - fail_ci_if_error: false + fail_ci_if_error: true test-micropython: diff --git a/README.md b/README.md index ad2016b..5a7a4bf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # micropython-cratedb - A CrateDB Driver for MicroPython [![Tests](https://github.com/crate/micropython-cratedb/actions/workflows/tests.yml/badge.svg)](https://github.com/crate/micropython-cratedb/actions/workflows/tests.yml) +[![Test coverage](https://img.shields.io/codecov/c/gh/crate/micropython-cratedb.svg?style=flat-square)](https://codecov.io/gh/crate/micropython-cratedb/) ## Introduction diff --git a/pyproject.toml b/pyproject.toml index a9bccbe..648ba6f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,9 +63,9 @@ xfail_strict = true branch = false source = [ ".", - "examples", ] omit = [ + "examples/*", "tests/*", ]