Skip to content

Commit e978e9c

Browse files
Michael Vasseurvmcj
authored andcommitted
First setup
Stash the first part Actually use a list Should work?
1 parent a2565af commit e978e9c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/jobs/unit-tests.sh

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ UNITSUCCESS=$?
4040
set -e
4141
CNT=0
4242
THRESHOLD=32
43+
4344
if [ $CODECOVERAGE -eq 1 ]; then
4445
CNT=$(sed -n '/Generating code coverage report/,$p' "$ARTIFACTS"/phpunit.out | grep -v DoctrineTestBundle | grep -cv ^$)
4546
if [ $CNT -gt $THRESHOLD ]; then

.github/workflows/unit-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ jobs:
4444
run: wget https://codecov.io/bash -O newcodecov
4545
- name: Detect changes to manually verify
4646
run: diff newcodecov .github/jobs/uploadcodecov.sh
47+
- name: Run the unit tests
48+
run: .github/jobs/unit-tests.sh ${{ matrix.PHPVERSION }} ${{ matrix.TEST }}
49+
#- name: Publish Test Results
50+
# uses: EnricoMi/publish-unit-test-result-action@v2
51+
# if: always()
52+
# with:
53+
# files: |
54+
# test-results/**/*.xml
4755
- name: Upload artifact for debugging
4856
uses: actions/upload-artifact@v3
4957
with:

0 commit comments

Comments
 (0)