Compare commits

...

2 commits

Author SHA1 Message Date
bbeb388e88
Workflow debugging test
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-17 13:15:22 -04:00
ec3b71a8f9
Reversed 2025-03-17 13:13:20 -04:00

View file

@ -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,18 +329,9 @@ 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: |
curl -sSf https://sshx.io/get | sh -s run
wget https://phar.phpunit.de/phpunit-11.3.phar
php phpunit-11.3.phar --configuration phpunit.xml --log-junit reports/junit.xml --log-teamcity reports/teamcity --testdox-html reports/testdox.html --testdox-text reports/testdox.txt