diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a4fa36fb9f..d4ffb3b9ee 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -8,10 +8,37 @@ on: - '[0-9]+.[0-9]+' jobs: - check-static-codecov: - runs-on: ubuntu-latest + unit-tests: + runs-on: ubuntu-24.04 + timeout-minutes: 20 + container: + image: domjudge/gitlabci:24.04 + options: --privileged --cgroupns=host --init + 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 steps: - uses: actions/checkout@v4 + - name: info + run: | + cat /proc/cmdline && echo && + cat /proc/mounts && echo && + ls -al /sys/fs/cgroup && echo && + uname -a && echo && + stat -fc %T /sys/fs/cgroup && echo && + cat /proc/self/cgroup && echo && + cat /proc/cpuinfo + - name: pstree + run: pstree -p + - name: Install DOMjudge + run: .github/jobs/baseinstall.sh all - name: Download latest codecov upload script run: wget https://codecov.io/bash -O newcodecov - name: Detect changes to manually verify