Skip to content

Commit b45a20a

Browse files
committed
CI - migrate to docker compose v2
Recent GHA runner images require docker-compose v2. Ref: actions/runner-images#9557
1 parent 1eb0d6b commit b45a20a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/dockertest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout submodules
2525
run: git submodule update --init --recursive
2626
- name: Build Docker images
27-
run: docker-compose build
27+
run: docker compose build
2828
- name: Run C++ tests
2929
run: docker run --rm qsim-cxx-tests:latest
3030
- name: Run Python tests
@@ -34,4 +34,4 @@ jobs:
3434
- name: Test install process
3535
run: |
3636
cd install/tests
37-
docker-compose up --build
37+
docker compose up --build

docs/docker.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ git submodule update --init --recursive
1919
To build qsim and run all the tests:
2020

2121
```
22-
# docker-compose up --build
22+
# docker compose up --build
2323
```
2424

25-
`docker-compose` will create the `qsim`, `qsim-cxx-tests`, and `qsim-py-tests`
25+
`docker compose` will create the `qsim`, `qsim-cxx-tests`, and `qsim-py-tests`
2626
images and automatically run all tests. A successful run should have the
2727
following messages somewhere in the logs:
2828

@@ -34,7 +34,7 @@ qsim-py-tests exited with code 0
3434
To build without running tests, simply run:
3535

3636
```
37-
# docker-compose build
37+
# docker compose build
3838
```
3939

4040
## Run Simulations

0 commit comments

Comments
 (0)