C++ put test types out of the SDK and into the test executable #2769
Workflow file for this run
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: Pull-Request | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
# These jobs use fairly short names as they are a prefix in the display hierarchy | |
jobs: | |
checks: | |
name: Checks | |
uses: ./.github/workflows/reusable_checks.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
secrets: inherit | |
min-test-wheel: | |
name: "Minimum Wheel" | |
uses: ./.github/workflows/reusable_build_and_test_wheels.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
PLATFORM: linux | |
MATURIN_FEATURE_FLAGS: "--no-default-features --features extension-module" | |
WHEEL_ARTIFACT_NAME: "linux-wheel-fast" | |
RRD_ARTIFACT_NAME: linux-rrd-fast | |
secrets: inherit | |
build-rerun_c-and-upload: | |
name: "Build & Upload rerun_c (Linux x64)" | |
uses: ./.github/workflows/reusable_build_and_upload_rerun_c.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
PLATFORM: linux | |
UPLOAD_COMMIT_OVERRIDE: ${{ github.event.pull_request.head.sha }} | |
secrets: inherit | |
build-web: | |
name: "Build Web" | |
uses: ./.github/workflows/reusable_build_web.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
secrets: inherit | |
upload-web: | |
name: "Upload Web" | |
needs: [min-test-wheel, build-web] | |
uses: ./.github/workflows/reusable_upload_web.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
RRD_ARTIFACT_NAME: linux-rrd-fast | |
UPLOAD_COMMIT_OVERRIDE: ${{ github.event.pull_request.head.sha }} | |
secrets: inherit | |
build-web-demo: | |
name: "Build Web Demo" | |
needs: [min-test-wheel, build-web] | |
uses: ./.github/workflows/reusable_build_web_demo.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
WHEEL_ARTIFACT_NAME: linux-wheel-fast | |
SOURCE_LINK_COMMIT_OVERRIDE: ${{ github.event.pull_request.head.sha }} | |
secrets: inherit | |
track-sizes: | |
name: "Track Sizes" | |
needs: [build-web-demo] | |
uses: ./.github/workflows/reusable_track_size.yml | |
with: | |
CONCURRENCY: push-${{ github.ref_name }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
secrets: inherit | |
upload-web-demo: | |
name: "Upload Web Demo" | |
needs: [build-web-demo] | |
uses: ./.github/workflows/reusable_upload_web_demo.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
UPLOAD_COMMIT_OVERRIDE: ${{ github.event.pull_request.head.sha }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
secrets: inherit | |
run-notebook: | |
name: "Run Notebook" | |
needs: [min-test-wheel] | |
uses: ./.github/workflows/reusable_run_notebook.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
WHEEL_ARTIFACT_NAME: linux-wheel-fast | |
UPLOAD_COMMIT_OVERRIDE: ${{ github.event.pull_request.head.sha }} | |
secrets: inherit | |
save-pr-summary: | |
name: "Save PR Summary" | |
needs: [upload-web, run-notebook, build-rerun_c-and-upload] | |
uses: ./.github/workflows/reusable_pr_summary.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
secrets: inherit | |
update-pr-body: | |
name: "Update PR Body" | |
uses: ./.github/workflows/reusable_update_pr_body.yml | |
with: | |
CONCURRENCY: pr-${{ github.event.pull_request.number }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
secrets: inherit |