From e9cbe61d5877f7cd7ac7581c33be85ed4c34d445 Mon Sep 17 00:00:00 2001 From: Simatwa Date: Wed, 10 Jan 2024 01:54:16 +0300 Subject: [PATCH] Test leo provider only --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f2e7d1a..5e1a723 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install . - python -m pip install flake8 pytest + python -m pip install flake8 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | @@ -36,6 +36,6 @@ 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: Test with Unittest run: | - pytest + python -m unittest discover -s tests -p 'test_leo.py' -f -v