on: [pull_request] name: IntegrationTests jobs: unit_tests: name: Integration tests runs-on: ubuntu-latest steps: - name: Git checkout uses: actions/checkout@v2 - name: Build uses: actions-rs/toolchain@v1 with: toolchain: stable - run: cargo build - name: Start Mosquitto run: | sudo apt-get install mosquitto mosquitto -c .ci/mosquitto.conf -d - name: Run integration tests run: cargo test integration