Skip to content

Commit 8a12aed

Browse files
Merge pull request #158 from stackkit/feature/PHP-8.4
PHP 8.4 prep
2 parents 5f58dd4 + affaba3 commit 8a12aed

18 files changed

+9386
-57
lines changed

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
DB_DRIVER=mysql
2+
DB_HOST=mysql
3+
DB_PORT=3306
4+
5+
CI_CLOUD_TASKS_PROJECT_ID=
6+
CI_CLOUD_TASKS_QUEUE=
7+
CI_CLOUD_TASKS_LOCATION=
8+
CI_CLOUD_TASKS_SERVICE_ACCOUNT_EMAIL=
9+
CI_SERVICE_ACCOUNT_JSON_KEY=

.github/workflows/run-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ jobs:
8686
coverage: none
8787

8888
- name: Set up MySQL and PostgreSQL
89+
env:
90+
CI_SERVICE_ACCOUNT_JSON_KEY: ${{ secrets.CI_SERVICE_ACCOUNT_JSON_KEY }}
8991
run: |
9092
MYSQL_PORT=3307 POSTGRES_PORT=5432 docker compose up ${{ matrix.db }} -d
9193
- name: Install dependencies
@@ -103,6 +105,7 @@ jobs:
103105
- name: Execute tests
104106
env:
105107
DB_DRIVER: ${{ matrix.db }}
108+
DB_HOST: 127.0.0.1
106109
CI_CLOUD_TASKS_PROJECT_ID: ${{ secrets.CI_CLOUD_TASKS_PROJECT_ID }}
107110
CI_CLOUD_TASKS_QUEUE: ${{ secrets.CI_CLOUD_TASKS_QUEUE }}
108111
CI_CLOUD_TASKS_LOCATION: ${{ secrets.CI_CLOUD_TASKS_LOCATION }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/vendor/
2-
composer.lock
32
.idea/
43
.phpunit.result.cache
54
.phpunit.cache
5+
.env

app.Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM serversideup/php:8.3-fpm
2+
3+
USER root
4+
RUN install-php-extensions bcmath
5+
6+
USER www-data

0 commit comments

Comments
 (0)