From 2a0bd884c272762a36a69deb17a05925eb4ecdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Cirac=C3=AC?= Date: Sun, 21 Jan 2024 17:16:42 +0100 Subject: [PATCH] unit test added to GitHib workflow. --- .github/workflows/preliminary_test_conda.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/preliminary_test_conda.yaml b/.github/workflows/preliminary_test_conda.yaml index ac5331f..ae0ed14 100644 --- a/.github/workflows/preliminary_test_conda.yaml +++ b/.github/workflows/preliminary_test_conda.yaml @@ -58,3 +58,7 @@ 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: Run Unit test with pytest + shell: bash -l {0} + run: | + python -m pytest --import-mode=append test/ \ No newline at end of file