docs: lead with what Mercury is, add a docs index, and correct the control mode #349
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
| # Mercury CI Pipeline - Integration Tests | |
| # | |
| # Triggers: | |
| # - Automatically on every Pull Request | |
| # - Manually via workflow_dispatch | |
| # - Automatically on every push to mercuryv2 | |
| # | |
| # Runs Go startup/control integration tests on Linux amd64 only. | |
| name: Integration | |
| on: | |
| pull_request: | |
| branches: [mercuryv2] | |
| push: | |
| branches: [mercuryv2] | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: 'Target branch | default = "mercuryv2"' | |
| required: false | |
| type: string | |
| default: 'mercuryv2' | |
| jobs: | |
| integration-tests: | |
| name: Integration Tests (Linux amd64, Debian 13) | |
| runs-on: ubuntu-latest | |
| container: debian:trixie | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Install build dependencies | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| build-essential \ | |
| git \ | |
| openssh-client \ | |
| libpulse-dev \ | |
| libasound2-dev \ | |
| libhamlib-dev \ | |
| pkg-config \ | |
| golang-go | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| # Honour the dispatch input; it was advertised but ignored, so a manual | |
| # run against another branch silently tested mercuryv2. github.ref keeps | |
| # the automatic behaviour unchanged (PR merge ref / pushed branch). | |
| ref: ${{ github.event.inputs.branch || github.ref }} | |
| - name: Git Safe Directory | |
| run: git config --global --add safe.directory /__w/mercury/mercury | |
| - name: Build Mercury | |
| shell: bash | |
| run: make | |
| - name: Run Integration Tests | |
| shell: bash | |
| run: make integration-test |