From 8cc6f2fb91af6f6fd4c65264dc59c25282585b17 Mon Sep 17 00:00:00 2001 From: petersulyok Date: Thu, 6 Oct 2022 09:30:32 +0200 Subject: [PATCH] Fix: `docs/source/conf` excluded. --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44d2bef..348c61b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,13 +34,14 @@ jobs: - name: Lint with flake8 and pylint run: | flake8 - find . -name '*.py' -exec pylint {} \; + pylint src test - name: Test with pytest run: | - pytest --cov=src --cov=test + pytest - name: Generate coverage report if: "matrix.coverage" run: | + pytest --cov=src --cov=test python -m coverage xml - name: Upload coverage to Codecov if: "matrix.coverage"