Skip to content

Commit 3e0ed4e

Browse files
authored
Fix #413: add pytest to requirements.txt (#414)
1 parent 089a2d1 commit 3e0ed4e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
python -m pip install --upgrade pip
41+
pip install -r requirements.txt
4142
python dev_tools/write-ci-requirements.py --relative-cirq-version=${{ matrix.cirq-version }} --all-extras
4243
pip install -r ci-requirements.txt
4344
pip install --no-deps -e .
@@ -52,7 +53,6 @@ jobs:
5253
5354
- name: Test with pytest
5455
run: |
55-
pip install pytest
5656
# RECIRQ_IMPORT_FAILSAFE: skip tests on unsupported Cirq configurations
5757
# EXPORT_OMP_NUM_THREADS: pyscf has poor openmp performance which slows down qcqmc tests.
5858
export OMP_NUM_THREADS=1

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ seaborn
66
sphinx
77
ipython
88
black
9+
pytest

0 commit comments

Comments
 (0)