-
Notifications
You must be signed in to change notification settings - Fork 78
40 lines (35 loc) · 1.19 KB
/
dev-workflow-p1.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
37
38
39
40
name: Dev workflow (part 1)
# 1. When a PR review is requested, run tests on that PR
# 2. If all of the tests pass, allow the PR to be merged into `dev`
# 3. Whenever a PR is merged to `dev`, bump version number in `dev`
on:
pull_request:
types:
- opened
- review_requested
branches:
- 'dev*'
- 'dev-CICD'
- '2024-Pipeline-Improvement'
paths-ignore:
- 'docs/**'
- 'aerospike-stubs/**'
# So we can test changes to the test-server-rc workflow
workflow_dispatch:
inputs:
run_server_release_tests:
description: 'DEBUG: Run server release tests in build-wheels workflow?'
type: boolean
default: false
jobs:
test-with-server-release:
uses: ./.github/workflows/build-artifacts.yml
with:
run_tests: ${{ github.event_name == 'pull_request' && true || inputs.run_server_release_tests }}
sha-to-build-and-test: ${{ github.sha }}
secrets: inherit
test-with-server-rc:
needs: test-with-server-release
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'new-server-features') }}
uses: ./.github/workflows/test-server-rc.yml
secrets: inherit