feat: Run CI
Some checks failed
CI / Run Tests (push) Failing after 1m6s

This commit is contained in:
2024-11-14 17:17:45 -05:00
parent 9a53d36f4c
commit 1d9d8dc449

View File

@@ -23,12 +23,12 @@ jobs:
-p "8081:8081" \
eclipse-mosquitto:latest
- name: Build the test image.
run: docker build -f Dockerfile.test -t ${{ gitea.repository }}:${{ gitea.ref }} .
run: docker build -f Dockerfile.test -t ${{ gitea.repository }}:test .
- name: Run Test
run: >
docker run -it --rm \
-e MOSQUITTO_SERVER=127.0.0.1 \
${{ gitea.repository }}:${{ gitea.ref }} \
${{ gitea.repository }}:test \
swift test
- name: Cleanup.
run: docker stop mosquitto && docker rm -f mosquitto