Skip to content

Commit

Permalink
Fix the upload of the unit test results
Browse files Browse the repository at this point in the history
We expect the file to be named per matrix job but this was not updated
in the code so the upload action couldn't find the files.
  • Loading branch information
vmcj committed Dec 21, 2024
1 parent 0cfe72c commit 1ec165b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/jobs/unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ php $phpcov webapp/bin/phpunit -c webapp/phpunit.xml.dist webapp/tests/$unittest
UNITSUCCESS=$?

# Store the unit tests also in the root for the GHA
cp $ARTIFACTS/unit-tests.xml $DIR/
cp $ARTIFACTS/unit-tests.xml $DIR/unit-tests-${version}-${unittest}.xml

# Make sure the log exists before copy
touch ${DIR}/webapp/var/log/test.log
Expand Down

0 comments on commit 1ec165b

Please sign in to comment.