From 73723f102b5793f0469cfa6defc99e5414402238 Mon Sep 17 00:00:00 2001 From: Eddie Maldonado Date: Tue, 31 Dec 2024 11:10:07 -0500 Subject: [PATCH] ci: run mosquitto as part of CI --- .github/workflows/elixir.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index e2da2180..a92bd68a 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -14,8 +14,19 @@ jobs: name: Build and test runs-on: ubuntu-22.04 + services: + mosquitto: + image: eclipse-mosquitto:2.0 + ports: + - 1883:1883 + volumes: + - ./mosquitto:/mosquitto/config/ + options: --name mqtt + steps: - uses: actions/checkout@v2 + - name: Restart MQTT to load mosquitto/mosquitto.conf from checkout + run: docker restart mqtt # cache the ASDF directory, using the values from .tool-versions - name: ASDF cache uses: actions/cache@v2