diff --git a/.github/workflows/ncc_workflow.yml b/.github/workflows/ncc_workflow.yml index b775008..79c4358 100644 --- a/.github/workflows/ncc_workflow.yml +++ b/.github/workflows/ncc_workflow.yml @@ -279,9 +279,6 @@ jobs: runs-on: ubuntu-latest container: image: php:8.3 - volumes: - - /var/run/docker.sock:/var/run/docker.sock - options: --network host if: needs.check-phpunit.outputs.phpunit-exists == 'true' steps: @@ -302,17 +299,6 @@ jobs: chmod +x /usr/local/bin/install-php-extensions install-php-extensions zip - - name: Install Docker CLI and Docker Compose - run: | - apt-get update -yqq - apt-get install -y ca-certificates curl gnupg - install -m 0755 -d /etc/apt/keyrings - curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg - chmod a+r /etc/apt/keyrings/docker.gpg - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null - apt-get update -yqq - apt-get install -y docker-ce-cli docker-compose-plugin - - name: Install phive run: | wget -O phive.phar https://phar.io/releases/phive.phar @@ -343,16 +329,6 @@ jobs: run: | ncc package install --package="release/net.nosial.socialbox.ncc" --build-source --reinstall -y --log-level debug - - name: Start Docker services - run: docker compose -f docker-compose.test.yml up -d - - - name: Wait for services to be ready - run: | - until curl -f -H "Request-Type: ping" http://localhost:8085/ && curl -f -H "Request-Type: ping" http://localhost:8086/; do - echo "Waiting for services to become available..." - sleep 1 - done - - name: Run PHPUnit tests run: | wget https://phar.phpunit.de/phpunit-11.3.phar