Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
432283c0
Unverified
Commit
432283c0
authored
Jan 29, 2024
by
Nicolas Hug
Committed by
GitHub
Jan 29, 2024
Browse files
CI fix - Use pytest<8 in unittest jobs (#8239)
parent
e0fd033c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.github/scripts/unittest.sh
.github/scripts/unittest.sh
+2
-1
.github/workflows/tests.yml
.github/workflows/tests.yml
+2
-1
No files found.
.github/scripts/unittest.sh
View file @
432283c0
...
...
@@ -8,7 +8,8 @@ set -euo pipefail
eval
"
$($(
which conda
)
shell.bash hook
)
"
&&
conda deactivate
&&
conda activate ci
echo
'::group::Install testing utilities'
pip
install
--progress-bar
=
off pytest pytest-mock pytest-cov expecttest!
=
0.2.0
# TODO: remove the <8 constraint on pytest when https://github.com/pytorch/vision/issues/8238 is closed
pip
install
--progress-bar
=
off
"pytest<8"
pytest-mock pytest-cov expecttest!
=
0.2.0
echo
'::endgroup::'
python
test
/smoke_test.py
...
...
.github/workflows/tests.yml
View file @
432283c0
...
...
@@ -164,7 +164,8 @@ jobs:
echo '::endgroup::'
echo '::group::Install testing utilities'
pip install --progress-bar=off pytest
# TODO: remove the <8 constraint on pytest when https://github.com/pytorch/vision/issues/8238 is closed
pip install --progress-bar=off "pytest<8"
echo '::endgroup::'
echo '::group::Run extended unittests'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment