ci(unit_test): capture stdout in JUnit Report

for debugging purposes, the test data for each test will output the
parameters to stdout for inclusion in the JUnit report

MR !4
This commit is contained in:
2022-01-28 12:15:20 +09:30
parent 3dcca53b09
commit f811a7acef

View File

@ -42,7 +42,7 @@ Unit Tests:
- pip3 install -r test/requirements.txt
- mv "$CI_PROJECT_DIR/artifacts/build/Static Pages/build" build
script:
- pytest --junitxml=unit_test.junit.xml --tb=line -s test/unit
- pytest --verbose --junitxml=unit_test.junit.xml --tb=line test/unit
- cp *.junit.xml "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/"
- echo "[DEBUG] python_exit[$python_exit]"
artifacts: