Skip to content

Commit b09aaff

Browse files
Various requested changes.
1 parent dee5759 commit b09aaff

4 files changed

Lines changed: 9 additions & 17 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,12 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
9-
fail-fast: false
109
matrix:
11-
laravel: [5, 6, 7, 8]
1210
php: [7.1, 7.2, 7.3, 7.4, 8.0]
13-
exclude:
14-
- php: 7.1
15-
laravel: 6
16-
- php: 7.1
17-
laravel: 7
18-
- php: 7.1
19-
laravel: 8
20-
- php: 7.2
21-
laravel: 8
22-
- php: 8.0
23-
laravel: 5
11+
symfony_process: [3.4, 4.0, 5.0]
2412

2513
steps:
2614
- uses: actions/checkout@v2
2715

28-
- name: test against Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }}
29-
run: docker build . --build-arg PHP_VERSION=${{ matrix.php }} --build-arg LARAVEL=${{ matrix.laravel }}
16+
- name: test against Symfony/Process ${{ matrix.symfony_process }} on PHP ${{ matrix.php }}
17+
run: docker build . --build-arg PHP_VERSION=${{ matrix.php }} --build-arg SYMFONY_PROCESS=${{ matrix.symfony_process }}

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ WORKDIR /package
1616

1717
COPY composer.json ./
1818

19+
ARG SYMFONY_PROCESS=5
20+
RUN composer require symfony/process ^$SYMFONY_PROCESS.0
21+
1922
RUN composer install
2023

2124
COPY . .
2225

23-
RUN vendor/bin/phpunit --configuration phpunit.xml
26+
RUN composer test

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# PHP ChromePDF Renderer
22
![Unit tests](https://github.com/SynergiTech/chrome-pdf-php/workflows/Unit%20tests/badge.svg)
3+
[![Tests](https://github.com/SynergiTech/chrome-pdf-php/actions/workflows/main.yml/badge.svg)](https://github.com/SynergiTech/chrome-pdf-php/actions/workflows/main.yml)
34
[![codecov](https://codecov.io/gh/SynergiTech/chrome-pdf-php/branch/master/graph/badge.svg)](https://codecov.io/gh/SynergiTech/chrome-pdf-php)
45

56
_For pre-V1 documentation [click here](https://github.com/SynergiTech/chrome-pdf-php/blob/v0/README.md)_

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
parameters:
22
paths:
3-
- app
3+
- src
44
level: 5
55
ignoreErrors:
66
- '#Result of function abort \(void\) is used\.#'

0 commit comments

Comments
 (0)