reanahub / reana-workflow-engine-snakemake

REANA Workflow Engine Snakemake
MIT License
0 stars 22 forks source link

tests: allow execution of selected pytests only #69

Closed tiborsimko closed 11 months ago

tiborsimko commented 11 months ago

Allows execution of selected pytests via PYTESTARG environment variable. Example:

$ PYTESTARG=tests/test_version.py ./run-tests.sh --check-pytest

Closes reanahub/reana#755.

codecov[bot] commented 11 months ago

Codecov Report

Merging #69 (1a51c07) into master (65706b2) will not change coverage. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/reanahub/reana-workflow-engine-snakemake/pull/69/graphs/tree.svg?width=650&height=150&src=pr&token=T60GN05T4Q&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub)](https://app.codecov.io/gh/reanahub/reana-workflow-engine-snakemake/pull/69?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) ```diff @@ Coverage Diff @@ ## master #69 +/- ## ====================================== Coverage 3.84% 3.84% ====================================== Files 6 6 Lines 182 182 ====================================== Hits 7 7 Misses 175 175 ```
tiborsimko commented 11 months ago

This PR is not really necessary because PYTEST_ADDOPTS works:

$ PYTEST_ADDOPTS=tests/test_version.py ./run-tests.sh --check-pytest