Skip to content

Commit

Permalink
Update github workflow files to run only mock test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuvindu committed Dec 17, 2023
1 parent ceceebe commit b5fdc87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-with-bal-test-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ jobs:
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }}
uses: ballerina-platform/ballerina-standard-library/.github/workflows/build-with-bal-test-graalvm-connector-template.yml@main
secrets: inherit
with:
additional-build-flags: "-x :googleapis.calendar-examples:build -Pgroups=mock"
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ jobs:
secrets: inherit
with:
repo-name: module-ballerinax-googleapis.calendar
additional-test-flags: -Pgroups=mock
1 change: 1 addition & 0 deletions .github/workflows/dev-stg-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
secrets: inherit
with:
environment: ${{ github.event.inputs.environment }}
additional-publish-flags: "-x :googleapis.calendar-examples:build -Pgroups=mock"
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
uses: ballerina-platform/ballerina-standard-library/.github/workflows/pr-build-connector-template.yml@main
secrets: inherit
with:
additional-test-flags: ${{ github.event.pull_request.head.repo.full_name != github.repository && '-x test' || ''}}
additional-test-flags: ${{ github.event.pull_request.head.repo.full_name != github.repository && '-x test -Pgroups=mock' || ''}}
2 changes: 1 addition & 1 deletion .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: ballerina-platform/ballerina-standard-library/.github/workflows/trivy-scan-template.yml@main
secrets: inherit
with:
additional-build-flags: "-x :googleapis.calendar-examples:build"
additional-build-flags: "-x :googleapis.calendar-examples:build -Pgroups=mock"

0 comments on commit b5fdc87

Please sign in to comment.