Skip to content

Commit

Permalink
Debug by aligning the code
Browse files Browse the repository at this point in the history
No real changes intended for now.
  • Loading branch information
vmcj committed Dec 3, 2024
1 parent 0498175 commit 28ca9fc
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ on:
- '[0-9]+.[0-9]+'

jobs:
check-static-codecov:
runs-on: ubuntu-latest
steps:
- name: Keep the original job as its 'required'
run: exit 0

unit-tests:
runs-on: ubuntu-24.04
timeout-minutes: 20
container:
image: domjudge/gitlabci:24.04
services:
sqlserver:
image: mariadb
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: domjudge
MYSQL_PASSWORD: domjudge
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
PHPVERSION: [8.1]
Expand All @@ -28,18 +36,6 @@ jobs:
# TEST: Unit
# SQL: mysql
# SQL_OPTIONS: --health-cmd="mysqladmin ping"
services:
sqlserver:
image: ${{ matrix.SQL }}
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: root
options: ${{ matrix.SQL_OPTIONS }} --health-interval=10s --health-timeout=5s --health-retries=3
# --max-allowed-packet=67108864 --wait_timeout3600 --interactive_timeout=3600
container:
image: domjudge/gitlabci:24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download latest codecov upload script
Expand All @@ -60,3 +56,10 @@ jobs:
with:
files: |
unit-tests.xml
check-static-codecov:
runs-on: ubuntu-latest
steps:
- name: Keep the original job as its 'required'
run: exit 0

0 comments on commit 28ca9fc

Please sign in to comment.