Skip to content

Commit 28ca9fc

Browse files
committed
Debug by aligning the code
No real changes intended for now.
1 parent 0498175 commit 28ca9fc

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

.github/workflows/unit-tests.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,21 @@ on:
99
- '[0-9]+.[0-9]+'
1010

1111
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-
1812
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
1927
strategy:
2028
matrix:
2129
PHPVERSION: [8.1]
@@ -28,18 +36,6 @@ jobs:
2836
# TEST: Unit
2937
# SQL: mysql
3038
# 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
4339
steps:
4440
- uses: actions/checkout@v4
4541
- name: Download latest codecov upload script
@@ -60,3 +56,10 @@ jobs:
6056
with:
6157
files: |
6258
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+

0 commit comments

Comments
 (0)