common-workflow-language / common-workflow-language/cwltool
dev docs: how to run the conformance tests with `pytest`
Open
- Dominant language
- Python
- Stars
- 376
- Forks
- 255
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 12
Description
``` sh
pip install -U "cwltest>=2.3" pytest-xdist
make dev
git checkout https://github.com/common-workflow-language/cwl-v1.3
cp "$(python -c 'from cwltool.tests.util import get_data; print(get_data("tests/cwl-conformance/cwltool-conftest.py"))')" \
cwl-v1.3/conftest.py
cp cwl-v1.3/conformance_tests.yaml cd cwl-v1.3/conformance_tests.cwltest.yaml
# the above is only needed one time
cd cwl-v1.3
python -m pytest --cwl-args="--enable-dev --relax-path-checks" -n auto -rsfE \
conformance_tests.cwltest.yaml
```
Contributor guide
Assessment
This issue has not been assessed yet.