-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
Primary change: Creates a central workflow to run all 13 weaver test workflows from either a push, a pull request, a github command, or a schedule. Passes a 'run_all' boolean to sub-workflows to specify if all tests should be run, not just those with changes. Secondary changes: - update concurrency groups to allow triggering from central workflow - remove ability to run the 13 workflows individually to declutter ci menu Signed-off-by: Jennifer Bell <jenniferlianne@gmail.com> check whether RUN_ALL can be calculated in the environment instead of as a job rename weaver test file update actionlint to latest
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Weaver_CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
# run at 1am the first day of every month | ||
- cron: "0 1 1 * *" | ||
|
||
env: | ||
RUN_ALL: "${{github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}" | ||
|
||
jobs: | ||
|
||
fabric-fabric-satp: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-fabric-fabric-satp.yaml | ||
Check failure on line 22 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
asset-exchange-corda: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-exchange-corda.yaml | ||
Check failure on line 26 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
asset-transfer: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-transfer.yaml | ||
Check failure on line 30 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
relay: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-relay.yaml | ||
Check failure on line 34 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
corda-interop-app: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-corda-interop-app.yaml | ||
Check failure on line 38 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
pre-release: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-pre-release.yaml | ||
Check failure on line 42 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
asset-exchange-fabric: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-exchange-fabric.yaml | ||
Check failure on line 46 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
data-sharing: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-data-sharing.yaml | ||
Check failure on line 50 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
node-pkgs: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-node-pkgs.yaml | ||
Check failure on line 54 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
docker-build: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-docker-build.yaml | ||
Check failure on line 58 in .github/workflows/ci_weaver.yaml GitHub Actions / ActionLint / Lint_GitHub_Actions
|
||
asset-exchange-besu: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-exchange-besu.yaml | ||
go: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-go.yaml | ||
|