Skip to content

Commit 8177a22

Browse files
committed
setup for merge queues
1 parent 65c0329 commit 8177a22

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/_astra-integration-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Run integration tests against Astra
33
on:
44
workflow_call:
55
workflow_dispatch:
6-
pull_request: # temporary until it's merged
7-
branches: [ KG-ci-additions ]
8-
push:
9-
branches: [ KG-ci-additions ]
106

117
permissions:
128
id-token: write

.github/workflows/_docs-compile-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Compile against documentation examples
33
on:
44
workflow_call:
55
workflow_dispatch:
6-
# pull_request: # temporary until it's merged
7-
# branches: [ KG-ci-additions ]
8-
# push:
9-
# branches: [ KG-ci-additions ]
106

117
jobs:
128
test-compilation:

.github/workflows/_hcd-integration-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Run integration tests against HCD
33
on:
44
workflow_call:
55
workflow_dispatch:
6-
pull_request: # temporary until it's merged
7-
branches: [ KG-ci-additions ]
8-
push:
9-
branches: [ KG-ci-additions ]
106

117
permissions:
128
id-token: write

.github/workflows/tests.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ name: Tests
22

33
on:
44
merge_group:
5-
pull_request:
5+
# pull_request:
6+
pull_request: # temporary until it's merged
7+
branches: [ KG-ci-additions ]
8+
push:
9+
branches: [ KG-ci-additions ]
610

711
# alias act='act --container-architecture linux/amd64 -P ubuntu-latest=quay.io/jamezp/act-maven'
812

913
jobs:
1014
run-unit-tests:
1115
name: Run unit tests
1216
uses: ./.github/workflows/_unit-tests.yml
13-
# with:
17+
with:
18+
java_versions: '"17","21"'
1419
# java_versions: ${{ github.event_name == 'merge_group' && '"17","21"' || '"17"' }}
1520

1621
run-docs-compilation-tests:
@@ -27,6 +32,13 @@ jobs:
2732
uses: ./.github/workflows/_hcd-integration-tests.yml
2833
secrets: inherit
2934

35+
run-astra-integration-tests:
36+
name: Run Astra integration tests
37+
needs: [run-unit-tests]
38+
if: github.event_name == 'merge_group'
39+
uses: ./.github/workflows/_hcd-integration-tests.yml
40+
secrets: inherit
41+
3042
can-enqueue:
3143
name: Can enqueue
3244
needs: [run-unit-tests]
@@ -39,7 +51,7 @@ jobs:
3951
4052
can-merge:
4153
name: Can merge
42-
needs: [run-unit-tests, run-docs-compilation-tests, run-hcd-integration-tests]
54+
needs: [run-unit-tests, run-docs-compilation-tests, run-hcd-integration-tests, run-astra-integration-tests]
4355
if: always() && github.event_name == 'merge_group'
4456
runs-on: ubuntu-latest
4557
steps:

0 commit comments

Comments
 (0)