Skip to content

PHP 8.4 prep #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DB_DRIVER=mysql
DB_HOST=mysql
DB_PORT=3306

CI_CLOUD_TASKS_PROJECT_ID=
CI_CLOUD_TASKS_QUEUE=
CI_CLOUD_TASKS_LOCATION=
CI_CLOUD_TASKS_SERVICE_ACCOUNT_EMAIL=
CI_SERVICE_ACCOUNT_JSON_KEY=
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
coverage: none

- name: Set up MySQL and PostgreSQL
env:
CI_SERVICE_ACCOUNT_JSON_KEY: ${{ secrets.CI_SERVICE_ACCOUNT_JSON_KEY }}
run: |
MYSQL_PORT=3307 POSTGRES_PORT=5432 docker compose up ${{ matrix.db }} -d
- name: Install dependencies
Expand All @@ -103,6 +105,7 @@ jobs:
- name: Execute tests
env:
DB_DRIVER: ${{ matrix.db }}
DB_HOST: 127.0.0.1
CI_CLOUD_TASKS_PROJECT_ID: ${{ secrets.CI_CLOUD_TASKS_PROJECT_ID }}
CI_CLOUD_TASKS_QUEUE: ${{ secrets.CI_CLOUD_TASKS_QUEUE }}
CI_CLOUD_TASKS_LOCATION: ${{ secrets.CI_CLOUD_TASKS_LOCATION }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/vendor/
composer.lock
.idea/
.phpunit.result.cache
.phpunit.cache
.env
6 changes: 6 additions & 0 deletions app.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM serversideup/php:8.3-fpm

USER root
RUN install-php-extensions bcmath

USER www-data
Loading
Loading