We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc507b2 commit c1f1706Copy full SHA for c1f1706
.gitlab-ci.yml
@@ -76,13 +76,13 @@ test:
76
- python -m pip install -U pip
77
- python -m pip install -e .
78
- python -m pip install pytest pytest-cov plotly
79
- script:
80
- - >
81
- if [ "$CI_COMMIT_BRANCH" == "master" ]; then
82
- pytest --cov=compressai -s tests
83
- else
84
- pytest --cov=compressai -m "not pretrained" -s tests
+ - |
+ PYTEST_ARGS=(--cov=compressai --capture=no tests)
+ if [ "$CI_COMMIT_BRANCH" != "master" ]; then
+ PYTEST_ARGS+=(-m "not pretrained")
85
fi
+ script:
+ - pytest "${PYTEST_ARGS[@]}"
86
parallel:
87
matrix:
88
- PYTORCH_IMAGE:
0 commit comments