Add integration-functional workflow. #15
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
| # SPDX-FileCopyrightText: 2026 Andrew Zhang <whisper67265@outlook.com> | |
| # | |
| # SPDX-License-Identifier: BSL-1.0 | |
| name: Integration functional | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| integration-functional: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| # actions/checkout v6.0.2 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| persist-credentials: false | |
| # actions/setup-python v6.2.0 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: '3.12' | |
| # astral-sh/setup-uv v8.1.0 | |
| - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b | |
| with: | |
| version: 0.11.12 | |
| - name: Run integration functional tests | |
| env: | |
| # Use a repository *secret* (Settings → Secrets → Actions), not a variable. | |
| GH_TEST_REPO_TOKEN: ${{ secrets.GH_TEST_REPO_TOKEN }} | |
| run: bash scripts/integration-functional.sh | |
| - name: Upload logs on failure | |
| if: failure() | |
| # actions/upload-artifact v4.6.2 | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 | |
| with: | |
| name: integration-functional-logs | |
| path: /tmp/compose-logs.txt |