Skip to content

Commit

Permalink
Speed up tests re-execution
Browse files Browse the repository at this point in the history
  • Loading branch information
sibprogrammer committed Aug 15, 2024
1 parent 81d233c commit 4fd5b81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM debian:bookworm

RUN apt-get update \
&& apt-get install -y curl
7 changes: 2 additions & 5 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ services:
- /sys/fs/cgroup:/sys/fs/cgroup
cgroup: host
tests:
image: debian:bookworm
build: .
depends_on:
- plesk
links:
- plesk
volumes:
- .:/opt/tests/
command: >
bash -c "apt-get update
&& apt-get install -y curl
&& /opt/tests/wait-for-plesk.sh"
command: /opt/tests/wait-for-plesk.sh

0 comments on commit 4fd5b81

Please sign in to comment.