rust-mqtt/.github/workflows/integration_tests.yaml
Ondrej Babec 4baceade72
Embedded
2022-03-15 15:24:28 +01:00

26 lines
647 B
YAML

on: [pull_request]
name: IntegrationTests
jobs:
integration_tests:
name: Integration tests
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build embedded
run: cargo build --target thumbv7em-none-eabihf --features "no_std" --no-default-features
- name: Start Mosquitto
run: |
sudo apt-get install mosquitto
mosquitto -c .ci/mosquitto.conf -d
- name: Run integration tests
run: RUST_LOG=trace cargo test integration --features "testing"