From b19216b7339bc8991d62ef70530a0ba3094f2c86 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 14 Oct 2023 22:47:44 +0200 Subject: [PATCH] fix .coveragerc --- .github/workflows/ci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ccb1e16..da76761 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,7 +56,8 @@ jobs: run: | pip install pytest pytest-cov touch .coveragerc - echo $"[run]\nrelative_files = True" > .coveragerc + echo "[run]" > .coveragerc + echo "relative_files = True" >> .coveragerc pytest --cov="rendercv" tests/ mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }} @@ -91,7 +92,8 @@ jobs: pip install coverage ls -la coverage touch .coveragerc - echo $"[run]\nrelative_files = True" > .coveragerc + echo "[run]" > .coveragerc + echo "relative_files = True" >> .coveragerc coverage combine coverage coverage report coverage html --show-contexts --title "RenderCV coverage for ${{ github.sha }}"