Compare commits

...

36 commits

Author SHA1 Message Date
49dbe64935 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 27s
2024-09-23 18:57:15 +02:00
1fc96a5ff1 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Has been cancelled
2024-09-23 18:56:49 +02:00
9d0355c531 test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 6s
2024-09-23 18:48:29 +02:00
29cc49e422 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 5s
2024-09-23 18:47:57 +02:00
fb62555901 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 5s
2024-09-23 18:47:16 +02:00
8d96062fc8 test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 5s
2024-09-23 18:43:24 +02:00
f8c7dc5ff7 test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 14s
2024-09-23 18:39:40 +02:00
923d9db50c test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 0s
2024-09-23 18:39:04 +02:00
2874ba7544 test 2024-09-23 18:38:33 +02:00
90a2cee960 test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 5s
2024-09-23 18:26:30 +02:00
9aff86a074 test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 5s
2024-09-23 18:25:38 +02:00
5de7456c98 test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 13s
2024-09-23 18:18:42 +02:00
d3f42fd23d test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 30s
2024-09-23 18:16:49 +02:00
c2c2451c3d test 2024-09-23 18:15:59 +02:00
5cf40b6a70 test 2024-09-23 18:14:46 +02:00
fb6f3b64f4 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 30s
2024-09-23 18:12:34 +02:00
d41d9222ce test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 30s
2024-09-23 18:10:43 +02:00
f0b9954f99 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 28s
2024-09-23 18:09:17 +02:00
4660c7402b test
All checks were successful
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 13s
2024-09-23 16:58:40 +02:00
eb1611cd00 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 8s
2024-09-23 16:57:58 +02:00
780dc6f18a test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 7s
2024-09-23 16:57:27 +02:00
b4685a62e1 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 7s
2024-09-23 16:57:05 +02:00
384640a254 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 8s
2024-09-23 16:55:22 +02:00
29e4ebdd5a test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 7s
2024-09-23 16:53:00 +02:00
9560ce49cd test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 7s
2024-09-23 16:52:42 +02:00
71f5197447 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 12s
2024-09-23 16:50:41 +02:00
263864cbe8 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 12s
2024-09-23 16:49:34 +02:00
59e21f1cf2 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 2s
2024-09-23 16:48:49 +02:00
34be1cefb4 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 2s
2024-09-23 16:47:06 +02:00
6d120b5574 test 2024-09-23 16:46:44 +02:00
74536c7a80 test 2024-09-23 16:45:54 +02:00
0389f7a89c test 2024-09-23 16:44:40 +02:00
7700dc2b2e test 2024-09-23 16:44:15 +02:00
b0b105eea5 test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 3s
2024-09-23 16:43:06 +02:00
7d670c284d test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 4s
2024-09-23 16:41:54 +02:00
e1a5f3d0ed test 2024-09-23 16:40:26 +02:00
2 changed files with 114 additions and 0 deletions

View file

@ -0,0 +1,62 @@
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
postgres:
image: postgres
env:
POSTGRES_HOST_AUTH_METHOD: trust
gancio:
image: cisti/gancio
env:
NODE_ENV: production
GANCIO_DB_DIALECT: sqlite
GANCIO_DB_STORAGE: ./gancio.sqlite
cmd:
- '-p 127.0.0.1:13120:13120'
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 1
- run: curl -L 127.0.0.1:13120/setup/0
- run: |
curl 'http://localhost:13120/api/setup/db' \
--compressed -X POST \
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: en-US,en;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/json' \
-H 'Origin: http://localhost:13120' \
-H 'Connection: keep-alive' \
-H 'Referer: http://localhost:13120/setup/0' \
-H 'Cookie: i18n_redirected=en; auth.strategy=local' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'Priority: u=0' \
--data-raw '{"db":{"dialect":"sqlite","storage":"./gancio.sqlite","host":"localhost","database":"gancio","password":"gancio"}}'

View file

@ -0,0 +1,52 @@
name: PHPUnit
on:
push:
branches:
- ci_mobilizon
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
postgres:
image: docker.io/postgis/postgis:15-3.4
env:
POSTGRES_USER: mobilizon
POSTGRES_PASSWORD: mobilizon
POSTGRES_DB: mobilizon
cmd:
- '-p 127.0.0.1:5432:5432'
mobilizon:
image: docker.io/framasoft/mobilizon
env:
MOBILIZON_INSTANCE_NAME: Mobilizon
MOBILIZON_INSTANCE_HOST: localhost
MOBILIZON_INSTANCE_LISTEN_IP: "127.0.0.1"
MOBILIZON_INSTANCE_PORT: "4000"
MOBILIZON_DATABASE_HOST: "127.0.0.1"
MOBILIZON_DATABASE_PORT: "5432"
cmd:
- '-p 127.0.0.1:4000:4000'
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 1
- run: curl -L 127.0.0.1:4000