aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenawi Adha <benawiadha@gmail.com>2022-10-03 06:41:08 +0700
committerBenawi Adha <benawiadha@gmail.com>2022-10-03 06:41:08 +0700
commit7a797d3673a7ddbd6412939313e3cdf2d15ed542 (patch)
treeef6d97dcee7f168fe64c42b93439d533144a6f85
parent9c8891cb5145eb84c226f65b85b055d87b3967e7 (diff)
downloadepy-7a797d3673a7ddbd6412939313e3cdf2d15ed542.tar.gz
Update tests and Makefile
-rw-r--r--.github/workflows/tests.yml6
-rw-r--r--Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index ee508c9..7d499ce 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -19,10 +19,10 @@ jobs:
with:
python-version: "3.x"
- uses: abatilo/actions-poetry@v2.0.0
- - name: Install dev dependencies
- run: poetry install --no-root
+ - name: Install Project
+ run: poetry install
- name: Run tests
run: |
- poetry run coverage run --include=epy.py -m pytest -vv tests
+ poetry run coverage run -m pytest -vv tests
poetry run coverage report
diff --git a/Makefile b/Makefile
index 3d03560..ed8ff1d 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ tests:
python -m pytest -vv
coverage:
- coverage run --include=epy.py -m pytest -vv tests
+ coverage run -m pytest -vv tests
coverage html
python -m http.server -d htmlcov