Skip to content

Commit 682e975

Browse files
committed
Try setting parallelism
1 parent b7c89c9 commit 682e975

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci_docker_tests.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,14 @@ jobs:
7171
driver: docker
7272

7373
- name: Build Docker images
74+
env:
75+
# On GitHub, docker compose tries to use multiple concurrent calls.
76+
# This causes the build to fail, because the test images depend on
77+
# qsim-base, and when buildx can't find qsim-base, it tries to get
78+
# it from docker.io.
79+
COMPOSE_PARALLEL_LIMIT: 1
7480
run: |
75-
docker compose build qsim-base-image
76-
docker compose build qsim-cxx-tests-image qsim-py-tests-image
81+
docker compose build
7782
7883
- name: Run C++ tests
7984
run: docker run --rm qsim-cxx-tests:latest

0 commit comments

Comments
 (0)