File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ time "$SQLCLI" sys/$ORACLE_PWD@//$CONNECTION_STR AS SYSDBA <<-SQL
1010 whenever sqlerror exit failure rollback
1111
1212 @uninstall_all.sql $UT3_DEVELOP_SCHEMA
13+ SQL
14+ time " $SQLCLI " sys/$ORACLE_PWD @//$CONNECTION_STR AS SYSDBA << -SQL
15+ set feedback off
16+ set verify off
1317 whenever sqlerror exit failure rollback
1418 declare
1519 v_leftover_objects_count integer;
Original file line number Diff line number Diff line change @@ -144,19 +144,25 @@ jobs:
144144 id : run-tests
145145 run : bash test/run_tests.sh
146146
147- # Needed to diagnose occasional failures of DB on test runs
147+ # Start Needed to diagnose occasional failures of DB on test runs
148+ - name : Prepare diagnostic directory
149+ id : preapre-oracle-diag-dir
150+ if : ${{ always() && steps.run-tests.outcome == 'failure' }}
151+ run : |
152+ mkdir database-diag
153+ chmod +777 database-diag
148154 - name : Get ORACLE_BASE/diag data
149155 id : get-oracle-diag-data
150156 if : ${{ always() && steps.run-tests.outcome == 'failure' }}
151157 run : docker exec oracle bash -c "cp -r /opt/oracle/diag /utPLSQL/database-diag"
152- # Needed to diagnose occasional failures of DB on test runs
153158 - name : Upload ORACLE_BASE/diag data Artifact
154159 id : upload
155160 if : ${{ always() && steps.run-tests.outcome == 'failure' }}
156161 uses : actions/upload-artifact@v2
157162 with :
158163 name : my-artifact$-${{matrix.db_version_name}}
159164 path : ${{github.workspace}}/database-diag
165+ # End Needed to diagnose occasional failures of DB on test runs
160166
161167 - name : Validate utPLSQL reports format
162168 id : validate-reports-format
You can’t perform that action at this time.
0 commit comments