Update dev-workflow-p1.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |