-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(mercury): add mercury-mediator unit tests and release ci (#191)
- Loading branch information
abalias
authored
Dec 6, 2022
1 parent
1749e9d
commit 1802a9b
Showing
2 changed files
with
37 additions
and
2 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,35 @@ | ||
name: Mercury mediator testing workflow | ||
|
||
# Cancel previously running workflows if new commit pushed to the branch | ||
# this will help to push fixes earlier and stop previous workflows | ||
concurrency: | ||
group: ${{ github.head_ref }}${{ github.ref }}-mercury-mediator | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
paths: | ||
- ".github/workflows/mercury-mediator.yml" | ||
- ".github/workflows/scala-unit-tests.yml" | ||
- "mercury-mediator/**" | ||
pull_request: | ||
paths: | ||
- ".github/workflows/mercury-mediator.yml" | ||
- ".github/workflows/scala-unit-tests.yml" | ||
- "mercury-mediator/**" | ||
|
||
jobs: | ||
build-and-test-mercury-mediator: | ||
uses: ./.github/workflows/scala-unit-tests.yml | ||
with: | ||
component-name: "Mercury Mediator" | ||
component-dir: "mercury/mercury-mediator" | ||
secrets: inherit | ||
release: | ||
if: github.event_name == 'push' | ||
uses: ./.github/workflows/release.yml | ||
with: | ||
release-component: "mercury/mercury-mediator" | ||
secrets: inherit |
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