From 83da019fb7c7894b400fbec9af2e443e4040da4d Mon Sep 17 00:00:00 2001 From: Josh Veitch-Michaelis Date: Sat, 12 Aug 2023 23:56:56 +0200 Subject: [PATCH] update coveralls to check unit/integration tests --- .github/workflows/python-package.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7de5fd5..e4448f1 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -37,9 +37,12 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest + - name: Unit tests with pytest run: | - coverage run -m pytest + coverage run -m pytest test/unit + - name: Integration with pytest + run: | + coverage run -m pytest test/integration - name: Coveralls if: startsWith(matrix.os, 'ubuntu') && endsWith(matrix.python-version, 3.8) uses: AndreMiras/coveralls-python-action@develop