From e1a5f3d0ed49be911eccb4ae64cab493f98510e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Mon, 23 Sep 2024 16:40:26 +0200 Subject: [PATCH] test --- .forgejo/workflows/e2e_gancio.yml | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .forgejo/workflows/e2e_gancio.yml diff --git a/.forgejo/workflows/e2e_gancio.yml b/.forgejo/workflows/e2e_gancio.yml new file mode 100644 index 0000000..b8b4483 --- /dev/null +++ b/.forgejo/workflows/e2e_gancio.yml @@ -0,0 +1,42 @@ +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 + container_name: gancio + environment: + - 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']s + name: PHPUnit – PHP ${{ matrix.php-version }} + env: + extensions: mysql + key: cache-v1 + steps: + - name: Checkout + uses: https://code.forgejo.org/actions/checkout@v4 + + - run: curl http://gancio:13120 +