Skip to content

Commit

Permalink
Fix CI requirements for Changed files test (#6243)
Browse files Browse the repository at this point in the history
Problem: cirq-ft/cirq_ft/algos/qrom_test.py::test_notebook fails when
executed from `Changed files test` CI because of missing dependencies.

Solution: Install notebook-testing requirements for this CI job.
  • Loading branch information
pavoljuhas committed Aug 16, 2023
1 parent 9fbaa05 commit 64e1a7f
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -20,7 +20,10 @@ set -e
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd "$(git rev-parse --show-toplevel)"

reqs=( -r dev_tools/requirements/pytest-minimal.env.txt )
reqs=(
-r dev_tools/requirements/pytest-minimal.env.txt
-r dev_tools/requirements/deps/notebook.txt
)

# Install contrib requirements only if needed.
changed=$(git diff --name-only origin/master | grep "cirq/contrib" || true)
Expand Down

0 comments on commit 64e1a7f

Please sign in to comment.