rust-mqtt/.github/workflows/integration_tests.yaml
obabec b58e8318b6
Move tests and latest rust (#8)
* Move tests and latest rust
2022-03-16 11:38:30 +01:00

27 lines
671 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
- name: Install stable toolchain
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 tests
run: RUST_LOG=trace cargo test integration