Skip to content

Commit

Permalink
[RELEASE-ONLY CHANGES] [Cherry-pick for 0.17] CI fix - Use pytest<8 i…
Browse files Browse the repository at this point in the history
…n unittest jobs (#8240)
  • Loading branch information
NicolasHug committed Jan 29, 2024
1 parent 273182a commit b2383d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/unittest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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
pip install --progress-bar=off "pytest<8" pytest-mock pytest-cov expecttest
echo '::endgroup::'

python test/smoke_test.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
echo '::endgroup::'
echo '::group::Install testing utilities'
pip install --progress-bar=off pytest
pip install --progress-bar=off "pytest<8"
echo '::endgroup::'
echo '::group::Run extended unittests'
Expand Down

0 comments on commit b2383d4

Please sign in to comment.