From 693cda929c237f462dc481dc820372b317d2bf50 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Thu, 12 Dec 2024 20:10:58 +0100 Subject: [PATCH] ci: add .coveragerc --- .coveragerc | 6 ++++++ .github/workflows/codecov.yml | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..1f14d1c --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[coverage:run] +source = mdto + +[coverage:report] +show_missing = True +skip_covered = True diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 191ebc2..3689e49 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -31,13 +31,7 @@ jobs: pip install pytest pytest-cov . - name: Run tests - run: pytest --cov=. --cov-report=xml - - - name: install tree - run: sudo apt-get install -y tree - - - name: List directory structure - run: tree + run: pytest --cov=mdto --cov-report=xml - name: Upload results to Codecov uses: codecov/codecov-action@v5