wordpress-activitypub-event.../.forgejo/workflows/e2e_gancio.yml
André Menrath d41d9222ce
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 30s
test
2024-09-23 18:10:43 +02:00

43 lines
955 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: PHPUnit
on:
push:
branches:
- ci_gancio
pull_request:
env:
WP_TESTS_DIR: /workspace/wordpress-test-lib
WP_CORE_DIR: /workspace/wordpress
jobs:
phpunit:
runs-on: ubuntu-latest
services:
mysql:
image: mariadb
env:
MYSQL_ROOT_PASSWORD: root
gancio:
image: 'cisti/gancio'
env:
PATH: $PATH:/home/node/.yarn/bin
GANCIO_DATA: /home/node/data
NODE_ENV: production
GANCIO_DB_DIALECT: sqlite
GANCIO_DB_STORAGE: ./gancio.sqlite
strategy:
matrix:
php-version: ['8.1']
name: PHPUnit PHP ${{ matrix.php-version }}
env:
extensions: mysql
key: cache-v1
steps:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- run: sleep 20
- run: apt update && apt install net-tools telnet
- run: netstat -tulpn
- run: telnet 127.0.0.1 3306