Repository navigation
82 lines (70 loc) · 2.38 KB
/
Copy pathacts.yaml
File metadata and controls
82 lines (70 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up JDK 17
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Clone a2a-itk
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
repository: a2aproject/a2a-itk
ref: main
path: itk/a2a-itk
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
- name: Build itk_service image (GHA layer cache)
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # 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@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 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@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: acts-reports-java
path: itk/acts-report-*.json
if-no-files-found: warn
retention-days: 14