File tree 5 files changed +12
-20
lines changed
5 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 13
13
14
14
name: backwards compatibility
15
15
16
+ concurrency:
17
+ group: ${{ github.workflow }}-${{ github.ref }}
18
+ cancel-in-progress: true
19
+
16
20
jobs:
17
21
roave_bc_check:
18
22
uses: yiisoft/actions/.github/workflows/bc.yml@master
Original file line number Diff line number Diff line change 69
69
run : docker exec -i oci bash -c "sqlplus -s system/root@XE <<< 'ALTER USER system DEFAULT TABLESPACE USERS;'"
70
70
71
71
- name : Checkout.
72
- uses : actions/checkout@v3
72
+ uses : actions/checkout@v4
73
73
74
74
- name : Install PHP with extensions.
75
75
uses : shivammathur/setup-php@v2
78
78
extensions : ${{ env.EXTENSIONS }}
79
79
ini-values : date.timezone='UTC'
80
80
coverage : pcov
81
- tools : composer:v2
82
81
83
82
- name : Update composer.
84
83
run : composer self-update
@@ -95,14 +94,11 @@ jobs:
95
94
FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
96
95
WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
97
96
98
- - name : Install dependencies with composer.
99
- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
100
-
101
97
- name : Run tests with phpunit with code coverage.
102
- run : vendor/bin/phpunit --coverage-clover=coverage.xml --colors=always
98
+ run : vendor/bin/phpunit --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations
103
99
104
100
- name : Upload coverage to Codecov.
105
- uses : codecov/codecov-action@v3
101
+ uses : codecov/codecov-action@v5
106
102
with :
107
103
token : ${{ secrets.CODECOV_TOKEN }}
108
104
files : ./coverage.xml
Original file line number Diff line number Diff line change @@ -40,14 +40,13 @@ jobs:
40
40
41
41
steps :
42
42
- name : Checkout.
43
- uses : actions/checkout@v3
43
+ uses : actions/checkout@v4
44
44
45
45
- name : Install PHP with extensions.
46
46
uses : shivammathur/setup-php@v2
47
47
with :
48
48
php-version : ${{ matrix.php }}
49
49
coverage : none
50
- tools : composer:v2
51
50
52
51
- name : Update composer.
53
52
run : composer self-update
64
63
FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
65
64
WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
66
65
67
- - name : Install dependencies with composer.
68
- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
69
-
70
66
- name : Check dependencies.
71
67
run : vendor/bin/composer-require-checker
Original file line number Diff line number Diff line change 24
24
25
25
env :
26
26
COMPOSER_ROOT_VERSION : 1.0.0
27
- EXTENSIONS : pdo, pdo_oci, oci8
27
+ EXTENSIONS : pdo, pdo_oci
28
28
29
29
runs-on : ${{ matrix.os }}
30
30
56
56
run : docker exec -i oci bash -c "sqlplus -s system/root@XE <<< 'ALTER USER system DEFAULT TABLESPACE USERS;'"
57
57
58
58
- name : Checkout.
59
- uses : actions/checkout@v3
59
+ uses : actions/checkout@v4
60
60
61
61
- name : Install PHP with extensions.
62
62
uses : shivammathur/setup-php@v2
65
65
extensions : ${{ env.EXTENSIONS }}
66
66
ini-values : memory_limit=-1
67
67
coverage : pcov
68
- tools : composer:v2, pecl
69
68
70
69
- name : Set environment variables pull request linux.
71
70
uses : yiisoft/actions/db/environment-linux@master
79
78
FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
80
79
WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
81
80
82
- - name : Install dependencies with composer.
83
- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
84
-
85
81
- name : Run infection.
86
82
run : |
87
83
vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ignore-msi-with-no-mutations --only-covered
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ jobs:
42
42
43
43
steps :
44
44
- name : Checkout.
45
- uses : actions/checkout@v3
45
+ uses : actions/checkout@v4
46
46
47
47
- name : Install PHP with extensions.
48
48
uses : shivammathur/setup-php@v2
49
49
with :
50
50
php-version : ${{ matrix.php }}
51
51
coverage : none
52
- tools : composer:v2, cs2pr
52
+ tools : cs2pr
53
53
54
54
- name : Update composer.
55
55
run : composer self-update
You can’t perform that action at this time.
0 commit comments