common-workflow-language / common-workflow-language/cwltool

dev docs: how to run the conformance tests with `pytest`

Open
#2,023 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.