ci: acts ci workflows and auth precondition implementation by JakubWorek · Pull Request #1157 · a2aproject/a2a-java · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions .github/workflows/acts-nightly.yaml
82 changes: 82 additions & 0 deletions .github/workflows/acts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: ACTS

on:
push:
branches: [main]
paths-ignore:
- '**/docs/**'
pull_request:
paths-ignore:
- '**/docs/**'

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: Set up JDK 17
uses: actions/setup-java@v6
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- 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@v4

- 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-java
path: itk/acts-report-*.json
if-no-files-found: warn
retention-days: 14
1 change: 1 addition & 0 deletions itk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ raw_results.json
itk_java.json
acts-report-*.json
acts_results_*.json
acts_java.json
183 changes: 183 additions & 0 deletions itk/src/main/java/org/a2aproject/sdk/itk/ActsAuth.java
Loading
Loading