fix: compare in-memory task timestamps numerically (#1233) #56
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: ACTS | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| paths: | |
| - 'src/**' | |
| - 'itk/**' | |
| # The SUT behaviour contract the runner gates the corpus on. | |
| - 'acts/**' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| # Self-callout: re-run when this workflow changes so YAML edits are validated in PRs. | |
| - '.github/workflows/acts.yaml' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}' | |
| cancel-in-progress: true | |
| jobs: | |
| acts: | |
| name: ACTS Conformance | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Clone a2a-itk | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: a2aproject/a2a-itk | |
| ref: main | |
| path: itk/a2a-itk | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build itk_service image (GHA layer cache) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: itk/a2a-itk | |
| tags: itk_service:latest | |
| load: true | |
| cache-from: type=gha,scope=itk_service | |
| cache-to: type=gha,mode=max,scope=itk_service | |
| - name: Cache launcher peer-SDK checkouts + build outputs | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/a2a-itk-launcher | |
| key: itk-launcher-${{ runner.os }}-${{ github.sha }} | |
| restore-keys: | | |
| itk-launcher-${{ runner.os }}- | |
| - name: Run ACTS Conformance Suite | |
| # Temporarily advisory: the driver gates on `must` conformance here, | |
| # which no SDK passes yet. Delete this line to make it a merge | |
| # requirement. | |
| continue-on-error: true | |
| run: bash run_itk.sh | |
| working-directory: itk | |
| env: | |
| A2A_ITK_REVISION: main | |
| ITK_ACTS_RUN: "1" | |
| ITK_ACTS_TRANSPORTS: jsonrpc,grpc,rest | |
| ITK_SKIP_BUILD: "1" | |
| - name: Upload ACTS reports | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: acts-reports-python | |
| path: itk/acts-report-*.json | |
| if-no-files-found: warn | |
| retention-days: 14 |