diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 145999ce..cf9bb311 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,10 +4,10 @@ on: [push] jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - run: docker-compose run tests + - run: docker compose run tests - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/docker-compose.yml b/docker-compose.yml index 4431a3f5..83ad0e0d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ # Copyright 1999-2024. WebPros International GmbH. -version: '2' +version: '3' services: plesk: image: plesk/plesk:latest @@ -12,7 +12,8 @@ services: - /run - /run/lock volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup + cgroup: host tests: build: . environment: