Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Isolated pytest #6229

Merged
merged 16 commits into from
Aug 4, 2023
Prev Previous commit
Next Next commit
env packages
  • Loading branch information
NoureldinYosri committed Aug 4, 2023
commit 7acfc2ebe325476f6181d9eb1c48185de203153a
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,9 @@ jobs:
python-version: '3.9'
architecture: 'x64'
- name: Install dependencies
run: python3.9 -m pip install -r dev_tools/requirements/isolated-base.env.txt
run: python -m pip install -r dev_tools/requirements/isolated-base.env.txt
- name: List kernels
run: python -m jupyter kernelspec list
- name: Run one of the notebooks
run: PYTHONPATH=cirq-ft/ pytest cirq-ft/cirq_ft/algos/swap_network_test.py
- name: Test each module in isolation
run: pytest -n auto -m slow dev_tools/packaging/isolated_packages_test.py
pytest:
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/packaging/isolated_packages_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from dev_tools import shell_tools
from dev_tools.modules import list_modules

PACKAGES = ["-r", "dev_tools/requirements/deps/pytest.txt"]
PACKAGES = ["-r", "dev_tools/requirements/isolated-base.env.txt"]


@pytest.mark.slow
Expand Down