Skip to content

Commit

Permalink
ci: run mosquitto as part of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lemald committed Dec 31, 2024
1 parent c119180 commit 73723f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73723f1

Please sign in to comment.