Skip to content

Commit 551da9e

Browse files
committed
improve tests
1 parent 3ee867c commit 551da9e

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ jobs:
2525
uses: shivammathur/setup-php@v2
2626
with:
2727
php-version: ${{ matrix.php-versions }}
28-
extension-csv: mbstring, intl
28+
extensions: mbstring
2929
coverage: xdebug
30-
ini-values: post_max_size=256M, max_execution_time=180
31-
pecl: false
3230

3331
- name: Check PHP Version
3432
run: php -v

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
FROM composer:latest AS composer
2+
23
FROM php:8.1-fpm
4+
35
COPY --from=composer /usr/bin/composer /usr/bin/composer
6+
47
LABEL org.opencontainers.image.description="php-chmod is a PHP library for easily changing file/directory permissions recursively."
8+
59
WORKDIR /app
610
COPY . .
7-
RUN apt-get update && apt-get -y upgrade && apt-get -y install zip
8-
RUN composer update
11+
12+
RUN apt-get update && apt-get -y upgrade \
13+
&& apt-get -y install zip \
14+
&& composer update

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626

2727
### Installation
2828

29-
Run `composer require mathiasreker/php-chmod`
29+
Run:
30+
31+
```bash
32+
composer require mathiasreker/php-chmod
33+
```
3034

3135
### Examples
3236

0 commit comments

Comments
 (0)