-
Notifications
You must be signed in to change notification settings - Fork 69
36 lines (32 loc) · 1.18 KB
/
binding-tests-extended.yml
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
name: Extended Binding Tests
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- master
concurrency:
# Cancels pending runs when a PR gets updated.
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
binding-refs:
if: contains(github.event.pull_request.labels.*.name, 'PR-testing')
uses: ./.github/workflows/pr-binding-refs.yml
with:
pull_request: ${{ github.event.pull_request.number }}
openjdk:
runs-on: ubuntu-22.04
needs: binding-refs
if: contains(github.event.pull_request.labels.*.name, 'PR-testing')
steps:
- name: Invoke binding workflows
uses: aurelien-baudet/workflow-dispatch@v2
with:
repo: ${{ needs.binding-refs.outputs.openjdk_binding_repo }}
ref: ${{ needs.binding-refs.outputs.openjdk_binding_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
workflow: test-core-extended.yml
inputs: '{ "mmtk-core-repo": "${{ github.repository }}", "mmtk-core-ref": "${{ github.sha }}" }'
wait-for-completion: true
wait-for-completion-timeout: 6h
wait-for-completion-interval: 5m