File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 check-static-codecov :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Keep the original job as its 'required'
15+ run : exit 0
16+
17+ unit-tests :
1218 services :
1319 sqlserver :
1420 image : mariadb
@@ -19,13 +25,19 @@ jobs:
1925 options : --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
2026 container :
2127 image : domjudge/gitlabci:24.04
28+ strategy :
29+ matrix :
30+ PHPVERSION : [8.1]
31+ TEST : [UNIT]
2232 runs-on : ubuntu-latest
2333 steps :
2434 - uses : actions/checkout@v4
2535 - name : Download latest codecov upload script
2636 run : wget https://codecov.io/bash -O newcodecov
2737 - name : Detect changes to manually verify
2838 run : diff newcodecov .github/jobs/uploadcodecov.sh
39+ - name : Run the unit tests
40+ run : .github/jobs/unit-tests.sh ${{ matrix.PHPVERSION }} ${{ matrix.TEST }}
2941 - name : Upload artifact for debugging
3042 uses : actions/upload-artifact@v3
3143 with :
You can’t perform that action at this time.
0 commit comments