Update documentation links #408
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: Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| tql-syntax: | |
| name: Validate TQL syntax | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Parse TQL files | |
| shell: bash | |
| run: ./.github/scripts/check-tql-syntax.sh | |
| tenzir-test: | |
| name: Test packages (${{ matrix.tenzir.channel }}) | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.tenzir.experimental }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| tenzir: | |
| - channel: latest-release | |
| experimental: true | |
| binary: uvx tenzir | |
| node_binary: uvx --from tenzir tenzir-node | |
| - channel: latest-prerelease | |
| experimental: false | |
| binary: uvx --prerelease allow tenzir | |
| node_binary: uvx --prerelease allow --from tenzir tenzir-node | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Detect touched packages | |
| id: touched | |
| shell: bash | |
| run: | | |
| packages=$(./.github/scripts/detect-touched-packages.sh "${{ github.event.pull_request.base.sha || '' }}") | |
| echo "packages=$packages" >> "$GITHUB_OUTPUT" | |
| - name: Run package tests | |
| if: steps.touched.outputs.packages != '' | |
| env: | |
| TENZIR_BINARY: ${{ matrix.tenzir.binary }} | |
| TENZIR_NODE_BINARY: ${{ matrix.tenzir.node_binary }} | |
| run: uvx tenzir-test ${{ steps.touched.outputs.packages }} |