Skip to content

Commit a7c293e

Browse files
276 Attempt to print out the logs created by the testing process
1 parent ac1fa70 commit a7c293e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/scripts/run_coverage_cpp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ df -h
99
chmod +x ./run_all_tests.py
1010

1111
echo 'Running run_all_tests.py script for remote C++ tests (-t=ru)'
12-
python ./run_all_tests.py -t=ru -u ${AWS_ACCESS_KEY_ID} -p ${AWS_SECRET_ACCESS_KEY}
12+
python ./run_all_tests.py -t=ru -k -u ${AWS_ACCESS_KEY_ID} -p ${AWS_SECRET_ACCESS_KEY}
1313

1414
echo 'Running run_all_tests script for C++ tests (-t=ut)'
1515
python ./run_all_tests.py -t=ut -k

.github/scripts/run_coverage_py.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ if [ -f './.coverage' ]; then
1212
fi
1313

1414
echo 'Running run_all_tests script for Python tests (-t=pt)'
15-
python3 ./run_all_tests.py -t=pt
15+
python3 ./run_all_tests.py -t=pt -k
1616

1717
echo 'Running run_all_tests script for Remote Python tests (-t=rp)'
18-
python3 ./run_all_tests.py -t=rp -u=${AWS_ACCESS_KEY_ID} -p=${AWS_SECRET_ACCESS_KEY}
18+
python3 ./run_all_tests.py -t=rp -k -u=${AWS_ACCESS_KEY_ID} -p=${AWS_SECRET_ACCESS_KEY}
1919

2020
echo 'Running the tests included in TestScript.py file'
2121
# Append the coverage results to the ones obtained from running run_all_tests.py

.github/workflows/_CI_coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ jobs:
285285
if: ${{ always() }}
286286
run: |
287287
echo "Print all the logs" >> $GITHUB_OUTPUT
288-
mkdir ${{ env.SOURCE_CONTAINER_NAME }}_logs || true
289-
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/*.logs ${{ env.SOURCE_CONTAINER_NAME }}_logs || true
290-
cat ${{ env.SOURCE_CONTAINER_NAME }}_logs/*.log >> $GITHUB_OUTPUT
291-
rm -rf ${{ env.SOURCE_CONTAINER_NAME }}_logs
288+
mkdir -p ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs || true
289+
docker cp ${{ env.SOURCE_CONTAINER_NAME }}:/vdms/tests/tests_output_dir/*.log ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs || true
290+
cat ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs/*.log >> $GITHUB_OUTPUT
291+
rm -rf ${GITHUB_WORKSPACE}/${{ env.SOURCE_CONTAINER_NAME }}_logs || true
292292
docker kill ${{ env.SOURCE_CONTAINER_NAME }} || true
293293
docker kill ${{ env.SOURCE_CONTAINER_NAME }}_tmp || true
294294
docker kill ${{ env.NEO4J_CONTAINER_NAME }} || true

0 commit comments

Comments
 (0)