Bump black from 26.1.0 to 26.3.1 #936
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: Platform Build | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*'] | |
| pull_request: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '39 13 * * *' # run daily | |
| jobs: | |
| platform_build: | |
| strategy: | |
| matrix: | |
| include: | |
| - runner: pi_4b | |
| platform: native | |
| sudo: true | |
| uv_cmd: ~/.local/bin/uv | |
| - runner: ubuntu-22.04-arm | |
| platform: native | |
| sudo: false | |
| uv_cmd: uv | |
| runs-on: ${{ matrix.runner }} | |
| timeout-minutes: 35 | |
| steps: | |
| - name: Runner Info | |
| run: printenv | sort | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: '0' # need full history to get version from git tag | |
| - name: Install uv | |
| if: matrix.uv_cmd == 'uv' | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| - name: Install packaged dependencies | |
| run: .github/install_dependencies | |
| - name: Build | |
| run: | | |
| cmake -B builds/Release -DCMAKE_BUILD_TYPE=Release -DPLATFORM=${{ matrix.platform }} -DBUILD_UNITTESTS=TRUE -S . | |
| VERBOSE=1 cmake --build builds/Release -j | |
| - name: Unit Tests | |
| run: builds/Release/src/unittests | |
| - name: Run system tests | |
| env: | |
| SUDO_FLAG: ${{ matrix.sudo == true && '--sudo' || '' }} | |
| run: | | |
| ${{ matrix.uv_cmd }} run --no-group dev pytest system_tests/tests/ \ | |
| --binary builds/Release/src/rtl_airband \ | |
| $SUDO_FLAG \ | |
| --mode thorough \ | |
| --clean \ | |
| -v |