diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-06-20 16:10:07 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-06-20 16:10:07 -0500 |
| commit | e6d7aeeead256cf98b8fb4947424cf8ad26d0b9a (patch) | |
| tree | f9958d3aca0b45b40ecb67af188356225eb12016 | |
| parent | Remove --no-dev from package ci (diff) | |
| download | config-file-e6d7aeeead256cf98b8fb4947424cf8ad26d0b9a.zip | |
Add test_ci taskipy task
| -rw-r--r-- | .github/workflows/python-package-ci.yml | 2 | ||||
| -rw-r--r-- | pyproject.toml | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml index 8a1432e..6cbfbb1 100644 --- a/.github/workflows/python-package-ci.yml +++ b/.github/workflows/python-package-ci.yml @@ -29,7 +29,7 @@ jobs: - name: Run tests run: | - poetry run task test + poetry run task test_ci - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 diff --git a/pyproject.toml b/pyproject.toml index 28f2acd..bdf9ba3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,8 +19,11 @@ classifiers = [ ] [tool.taskipy.tasks] -test = "poetry run pytest -v --cov=config_file/ --cov-report term-missing tests/" +test = "task test_cov -- -v --cov-report term-missing" +test_cov = "task pytest -- --cov=config_file/" +test_ci = "task test_cov -- --cov-report=xml" lint = "poetry run pre-commit run --all" +pytest = "poetry run pytest tests/" [tool.poetry.dependencies] python = "^3.6" |