Skip to content

Commit

Permalink
tests: Respond to review on test docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswestman authored and barthalion committed Jun 28, 2022
1 parent a796aff commit 8629bed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ jobs:

- name: Start containers
working-directory: ./tests
run: docker-compose up -d
run: docker compose up -d

- name: Wait for the containers to finish loading
run: sleep 10

- name: Run test
run: docker exec flat-manager ./tests/run-test.py
working-directory: ./tests
run: docker compose exec flat-manager ./tests/run-test.py

fmt:
name: Rustfmt
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:latest
FROM rust:1.61-bullseye

# Install run-tests.py's dependencies
RUN apt-get update
Expand Down
4 changes: 2 additions & 2 deletions tests/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"build-repo-base": "build-repo",
"build-gpg-key": null,
"gpg-homedir": null,
"secret": "c2VjcmV0Cg==",
"repo-secret": "c2VjcmV0Cg=="
"secret": "c2VjcmV0",
"repo-secret": "c2VjcmV0"
}

0 comments on commit 8629bed

Please sign in to comment.