File tree Expand file tree Collapse file tree 1 file changed +21
-18
lines changed Expand file tree Collapse file tree 1 file changed +21
-18
lines changed Original file line number Diff line number Diff line change 9
9
- ' [0-9]+.[0-9]+'
10
10
11
11
jobs :
12
- check-static-codecov :
13
- runs-on : ubuntu-latest
14
- steps :
15
- - name : Keep the original job as its 'required'
16
- run : exit 0
17
-
18
12
unit-tests :
13
+ runs-on : ubuntu-24.04
14
+ timeout-minutes : 20
15
+ container :
16
+ image : domjudge/gitlabci:24.04
17
+ services :
18
+ sqlserver :
19
+ image : mariadb
20
+ ports :
21
+ - 3306:3306
22
+ env :
23
+ MYSQL_ROOT_PASSWORD : root
24
+ MYSQL_USER : domjudge
25
+ MYSQL_PASSWORD : domjudge
26
+ options : --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
19
27
strategy :
20
28
matrix :
21
29
PHPVERSION : [8.1]
28
36
# TEST: Unit
29
37
# SQL: mysql
30
38
# SQL_OPTIONS: --health-cmd="mysqladmin ping"
31
- services :
32
- sqlserver :
33
- image : ${{ matrix.SQL }}
34
- ports :
35
- - 3306:3306
36
- env :
37
- MYSQL_ROOT_PASSWORD : root
38
- options : ${{ matrix.SQL_OPTIONS }} --health-interval=10s --health-timeout=5s --health-retries=3
39
- # --max-allowed-packet=67108864 --wait_timeout3600 --interactive_timeout=3600
40
- container :
41
- image : domjudge/gitlabci:24.04
42
- runs-on : ubuntu-latest
43
39
steps :
44
40
- uses : actions/checkout@v4
45
41
- name : Download latest codecov upload script
60
56
with :
61
57
files : |
62
58
unit-tests.xml
59
+
60
+ check-static-codecov :
61
+ runs-on : ubuntu-latest
62
+ steps :
63
+ - name : Keep the original job as its 'required'
64
+ run : exit 0
65
+
You can’t perform that action at this time.
0 commit comments