Skip to content

Commit 5ea446f

Browse files
committed
Use requirements files at more points in the ci
1 parent b7da4b4 commit 5ea446f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
# The following command checks that all modules can be imported.
243243
# The output also includes a long list of modules together with the number of tests in each module.
244244
# This can be ignored.
245-
./sage -python -m pip install pytest-xdist
245+
./sage -python -m pip install -r requirements/test-requirements.txt
246246
./sage -python -m pytest -c tox.ini -qq --doctest --collect-only || true
247247
shell: sh .ci/docker-exec-script.sh BUILD /sage {0}
248248

@@ -453,7 +453,7 @@ jobs:
453453
rm -rf /sage/.coverage
454454
ln -s $(pwd)/.coverage /sage/
455455
cd /sage
456-
./sage -python -m pip install coverage
456+
./sage -python -m pip install -r requirements/test-requirements.txt
457457
./sage -python -m coverage run --rcfile=src/tox.ini src/bin/sage-runtests --force-lib --long -p4 --format github --random-seed=286735480429121101562228604801325644303 ${{ matrix.tests }}
458458
shell: sh .ci/docker-exec-script.sh BUILD . {0}
459459

0 commit comments

Comments
 (0)