-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ci/github): run weaver tests on schedule, re-use workflows
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 check whether RUN_ALL can be calculated in the environment instead of as a job rename weaver test file update actionlint to latest Depends on #3446 Signed-off-by: Jennifer Bell <jenniferlianne@gmail.com>
- Loading branch information
1 parent
aadaca3
commit aa90ec6
Showing
13 changed files
with
174 additions
and
105 deletions.
There are no files selected for viewing
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
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 | ||
asset-exchange-corda: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-exchange-corda.yaml | ||
asset-transfer: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-transfer.yaml | ||
relay: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-relay.yaml | ||
corda-interop-app: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-corda-interop-app.yaml | ||
pre-release: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-pre-release.yaml | ||
asset-exchange-fabric: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-asset-exchange-fabric.yaml | ||
data-sharing: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-data-sharing.yaml | ||
node-pkgs: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-node-pkgs.yaml | ||
docker-build: | ||
with: | ||
run_all: $RUN_ALL | ||
uses: ./.github/workflows/test_weaver-docker-build.yaml | ||
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 | ||
|
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
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
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
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
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
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
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
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
Oops, something went wrong.