File tree 4 files changed +29
-7
lines changed
4 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,31 @@ on: [push]
4
4
5
5
jobs :
6
6
build-test :
7
- runs-on : ${{ matrix.operating-system }}
7
+ runs-on : ubuntu-latest
8
8
9
9
strategy :
10
10
matrix :
11
- operating-system : [ ubuntu-latest ]
12
11
php-version :
13
12
- ' 7.2'
14
13
- ' 7.3'
15
14
- ' 7.4'
16
15
- ' 8.0'
17
- name : PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }}
16
+ - ' 8.1'
17
+
18
+ symfony-version :
19
+ - ' 5.3'
20
+ - ' 5.4'
21
+ - ' 6.0'
22
+
23
+ exclude :
24
+ - php-version : 7.2
25
+ symfony-version : 6.0
26
+ - php-version : 7.3
27
+ symfony-version : 6.0
28
+ - php-version : 7.4
29
+ symfony-version : 6.0
30
+
31
+ name : PHP ${{ matrix.php-version }} and Symfony ${{ matrix.symfony-version }}
18
32
steps :
19
33
- uses : actions/checkout@v2
20
34
36
50
37
51
- name : Setup
38
52
run : |
39
- make install
53
+ sed -i composer.json -e 's/\^5\.3\(.[0-9]\+\)\?[|]\^6\.0/${{ matrix.symfony-version }}.*/g'
54
+ make install start
40
55
41
56
- name : Test
42
57
run : |
Original file line number Diff line number Diff line change
1
+ # [ v3.3.0] ( https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.3.0 ) - 15 Dec 2021
2
+
3
+ * Drop support for Symfony 4 (Please upgrade 😉)
4
+ * Change minimum required Symfony version to 5.3 instead of 4.0|5.0
5
+ * Test the package with more Symfony & PHP versions
6
+
1
7
# [ v3.2.1] ( https://github.com/Orbitale/ImageMagickPHP/releases/tag/v3.2.1 ) - 02 Jul 2021
2
8
3
9
* Add tests for the ` -threshold ` option.
Original file line number Diff line number Diff line change 1
1
SHELL := /bin/bash
2
2
3
3
IMAGEMAGICK_DOCKER_IMAGE = orbitale-imphp
4
+ PHP_BIN = php
4
5
5
6
# Helper vars
6
7
_TITLE := "\033[32m[%s]\033[0m %s\n"
@@ -25,7 +26,7 @@ stop: ## Stop testing Docker image
25
26
26
27
test : start # # Start Docker image for testing
27
28
export IMAGEMAGICK_PATH=" docker exec $( IMAGEMAGICK_DOCKER_IMAGE) ` pwd` /docker_entrypoint.sh magick" && \
28
- vendor/bin/phpunit
29
+ $( PHP_BIN ) vendor/bin/phpunit
29
30
$(MAKE ) stop
30
31
.PHONY : test
31
32
@@ -44,6 +45,6 @@ imagemagick-docker:
44
45
--workdir=` pwd` \
45
46
--entrypoint=" ` pwd` /docker_entrypoint.sh" \
46
47
dpokidov/imagemagick:latest \
47
- sleep 99999 \
48
+ sleep 9999999 \
48
49
> /dev/null
49
50
.PHONY : imagemagick-docker
Original file line number Diff line number Diff line change 15
15
"require" : {
16
16
"php" : " ^7.2|^8.0" ,
17
17
"ext-mbstring" : " *" ,
18
- "symfony/process" : " ^4.0|^5 .0" ,
18
+ "symfony/process" : " ^5.3|^6 .0" ,
19
19
"symfony/polyfill-php80" : " ^1.10"
20
20
},
21
21
"require-dev" : {
You can’t perform that action at this time.
0 commit comments