-
Notifications
You must be signed in to change notification settings - Fork 215
40 lines (36 loc) · 1.13 KB
/
pull-request-open.yaml
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
name: PR open
permissions:
# This is required for requesting the OIDC token
id-token: write
on:
pull_request:
branches:
- "dev/*"
types:
- opened
- reopened
workflow_dispatch:
inputs:
source-branch:
type: string
description: Base branch to use if manually starting. By default base_ref will empty if triggering manually hence base_ref is only available on PRs.
jobs:
test-with-server-release:
name: Build stage - Test with latest version of Aerospike Enterprise Server
uses: ./.github/workflows/build-pr.yaml
with:
branch: ${{ github.ref }}
source-branch: ${{ inputs.source-branch || github.base_ref }}
use-server-rc: false
upload-artifacts: false
secrets: inherit
test-with-server-rc:
name: Build stage - Test with latest RC version of Aerospike Enterprise Server
uses: ./.github/workflows/build-pr.yaml
with:
branch: ${{ github.base_ref || inputs.branch }}
source-branch: ${{ inputs.source-branch || github.base_ref }}
use-server-rc: true
upload-artifacts: false
run-tests: true
secrets: inherit