Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 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
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.4', '8.5']

steps:
- name: Checkout repository
Expand All @@ -31,4 +31,4 @@ jobs:
sleep 10

- name: Run Tests
run: docker compose exec tests vendor/bin/phpunit --configuration phpunit.xml
run: docker compose exec tests vendor/bin/phpunit --configuration phpunit.xml
27 changes: 27 additions & 0 deletions Dockerfile.php-8.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM composer:2.0 as step0

WORKDIR /src/

COPY composer.lock /src/
COPY composer.json /src/

RUN composer install --ignore-platform-reqs --optimize-autoloader \
--no-plugins --no-scripts --prefer-dist

FROM appwrite/utopia-base:php-8.5-2.1.0 as final

LABEL maintainer="team@appwrite.io"

RUN docker-php-ext-install pdo_mysql

WORKDIR /code

COPY --from=step0 /src/vendor /code/vendor

# Add Source Code
COPY ./tests /code/tests
COPY ./src /code/src
COPY ./phpunit.xml /code/phpunit.xml
COPY ./phpbench.json /code/phpbench.json

CMD [ "tail", "-f", "/dev/null" ]
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
"bench": "vendor/bin/phpbench run --report=aggregate"
},
"require": {
"php": ">=8.2",
"php": ">=8.4.1",
"ext-pdo": "*",
"ext-curl": "*",
"ext-redis": "*",
"utopia-php/database": "^6.0.0",
"utopia-php/pools": "1.*",
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Comment thread
premtsd-code marked this conversation as resolved.
"appwrite/appwrite": "^26.0"
},
"require-dev": {
Expand Down
Loading
Loading