6666 - name : Prepare Interop Tests
6767 if : (steps.check-if-src-changed.outputs.run_tests != 'false' || steps.check_if_release.outputs.is_release == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
6868 run : |
69- # Get AATH
69+ # Get AATH
7070 git clone https://github.com/openwallet-foundation/owl-agent-test-harness.git
7171
7272 # Change fork and branch for pull requests
@@ -83,27 +83,32 @@ jobs:
8383 if : (steps.check_if_release.outputs.is_release != 'true' && github.event_name == 'pull_request' && steps.check-if-src-changed.outputs.run_tests != 'false')
8484 run : |
8585 cd owl-agent-test-harness
86- NO_TTY=1 LEDGER_URL_CONFIG=https://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @critical -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound -t ~@Anoncreds >> output.txt
86+ LEDGER_TIMEOUT=180 NO_TTY=1 LEDGER_URL_CONFIG=https://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @critical -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound -t ~@Anoncreds 2>&1 | tee output.txt
8787 - name : Run Release or Nightly Interop Tests Indy
8888 if : (steps.check_if_release.outputs.is_release == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && steps.check-if-src-changed.outputs.run_tests != 'false')
8989 run : |
9090 cd owl-agent-test-harness
91- NO_TTY=1 LEDGER_URL_CONFIG=https://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @critical -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound -t ~@Anoncreds >> output.txt
91+ LEDGER_TIMEOUT=180 NO_TTY=1 LEDGER_URL_CONFIG=https://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @critical -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound -t ~@Anoncreds 2>&1 | tee output.txt
9292 - name : Run Release or Nightly Interop Tests AnonCreds
9393 if : (steps.check_if_release.outputs.is_release == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && steps.check-if-src-changed.outputs.run_tests != 'false')
9494 run : |
9595 cd owl-agent-test-harness
96- BACKCHANNEL_EXTRA_acapy_main="{\"wallet-type\":\"askar-anoncreds\"}" NO_TTY=1 LEDGER_URL_CONFIG=https://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @AcceptanceTest -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound -t ~@Indy -t ~@CredFormat_Indy >> output.txt
96+ LEDGER_TIMEOUT=180 BACKCHANNEL_EXTRA_acapy_main="{\"wallet-type\":\"askar-anoncreds\"}" NO_TTY=1 LEDGER_URL_CONFIG=https://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @AcceptanceTest -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound -t ~@Indy -t ~@CredFormat_Indy 2>&1 | tee output.txt
9797 - name : Check If Tests Failed
98- if : steps.check-if-src-changed.outputs.run_tests != 'false'
98+ if : always() && ( steps.check-if-src-changed.outputs.run_tests != 'false')
9999 run : |
100100 cd owl-agent-test-harness
101- cat output.txt
102- if grep "Failing scenarios:" output.txt; then
103- echo "Tests failed"
104- exit 1
101+ if [ -f output.txt ]; then
102+ cat output.txt
103+ if grep "Failing scenarios:" output.txt; then
104+ echo "Tests failed"
105+ exit 1
106+ else
107+ echo "Tests passed"
108+ exit 0
109+ fi
105110 else
106- echo "Tests passed "
107- exit 0
111+ echo "No output file found - tests may not have run "
112+ exit 1
108113 fi
109114
0 commit comments