feat: Run CI
Some checks failed
CI / Run Tests (push) Failing after 12s

This commit is contained in:
2024-11-14 20:44:31 -05:00
parent 8e4430804c
commit 41fb3c5715
2 changed files with 13 additions and 49 deletions

View File

@@ -20,29 +20,16 @@ services:
context: .
dockerfile: Dockerfile.test
working_dir: /app
networks:
- test
depends_on:
- mosquitto-test
- mosquitto
environment:
- MOSQUITTO_SERVER=mosquitto-test
command: /bin/bash -xc "swift package clean && swift test"
mosquitto-test:
image: eclipse-mosquitto
networks:
- test
- MOSQUITTO_SERVER=mosquitto
command: /bin/bash -xc "swift test"
mosquitto:
image: eclipse-mosquitto
volumes:
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/certs:/mosquitto/certs
ports:
- "1883:1883"
- "8883:8883"
- "8080:8080"
- "8081:8081"
build:
context: .
dockerfile: Dockerfile.mosquitto
networks:
test: