Skip to content

Commit

Permalink
ci(bank-sdk): Run the UI tests from the release workflow
Browse files Browse the repository at this point in the history
PM-89
  • Loading branch information
a-szotyori committed Jul 9, 2024
1 parent 72a9477 commit 6b8fcc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/bank-sdk.check.ui-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Check Bank SDK - UI Tests

# TODO: Update triggers to execute only on workflow_call (from the release workflow) and via manual triggering
# (UI tests are slow and we should not run them on every push)
on:
push:
paths:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/bank-sdk.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ jobs:
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}
BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD: ${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}

check-ui-tests:
uses: ./.github/workflows/bank-sdk.check.ui-tests.yml
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}

release:
needs: check
needs: [check, check-ui-tests]
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down

0 comments on commit 6b8fcc6

Please sign in to comment.