-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:juspay/hyperswitch into filter_pmd_…
…mandates
- Loading branch information
Showing
30 changed files
with
1,796 additions
and
1,455 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -72,9 +72,9 @@ jobs: | |
connector: | ||
# do not use more than 8 runners, try to group less time taking connectors together | ||
- stripe | ||
- adyen_uk|shift4|worldline | ||
- airwallex|bluesnap|checkout | ||
- paypal|mollie|payu | ||
- adyen_uk,shift4,worldline | ||
- airwallex,bluesnap,checkout | ||
- paypal,mollie,payu | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -101,8 +101,8 @@ jobs: | |
- name: Install latest compiler | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
toolchain: stable | ||
|
||
- uses: Swatinem/[email protected] | ||
|
||
- uses: baptiste0928/[email protected] | ||
|
@@ -111,23 +111,26 @@ jobs: | |
features: postgres | ||
args: "--no-default-features" | ||
|
||
- name: diesel migration run | ||
- name: Diesel migration run | ||
shell: bash | ||
env: | ||
DATABASE_URL: postgres://db_user:db_pass@localhost:5432/hyperswitch_db | ||
run: diesel migration run | ||
|
||
- name: Start server | ||
- name: Start server and run tests | ||
env: | ||
UI_TESTCASES_PATH: ${{ secrets.UI_TESTCASES_PATH }} | ||
INPUT: ${{ matrix.connector }} | ||
shell: bash | ||
run: sh .github/scripts/run_ui_tests.sh | ||
|
||
- name: Run tests | ||
- name: View test results | ||
shell: bash | ||
run: cat tests/test_results.log | ||
|
||
- name: Check test results | ||
shell: bash | ||
run: | | ||
IN="${{ matrix.connector }}" | ||
connectors=(${IN//|/ }) | ||
for i in "${connectors[@]}"; do | ||
cargo test --package router --test connectors -- "${i}_ui::" --test-threads=1 | ||
done | ||
if test "$( grep 'test result: FAILED' -r tests/test_results.log | wc -l )" -gt "0"; then | ||
exit 1 | ||
fi |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.