Add unsecure exchange initiation #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Exchange Integration Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| # Run every night at 4:00 AM UTC (offset from chiptool-tests and mdns-tests) | |
| - cron: "0 4 * * *" | |
| workflow_dispatch: | |
| env: | |
| RUST_TOOLCHAIN: stable | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| exchange_initiation_test: | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev | |
| - name: Setup Rust toolchain | |
| uses: dtolnay/rust-toolchain@v1 | |
| with: | |
| toolchain: ${{ env.RUST_TOOLCHAIN }} | |
| - name: Checkout rs-matter | |
| uses: actions/checkout@v4 | |
| - name: Build xtask | |
| run: | | |
| cargo build --manifest-path xtask/Cargo.toml | |
| - name: Run exchange initiation test | |
| run: | | |
| cargo xtask exchangetest | |
| - name: Upload logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: exchange-test-logs-${{ github.run_id }} | |
| path: | | |
| /tmp/rs-matter* | |
| if-no-files-found: ignore | |
| retention-days: 7 |