Reversed
This commit is contained in:
parent
1384aee3b3
commit
ec3b71a8f9
1 changed files with 0 additions and 24 deletions
24
.github/workflows/ncc_workflow.yml
vendored
24
.github/workflows/ncc_workflow.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue