Skip to content

Commit 390c2bf

Browse files
authored
Git: Commit composer.lock (#45)
1 parent 4627188 commit 390c2bf

File tree

3 files changed

+4646
-29
lines changed

3 files changed

+4646
-29
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,19 @@ permissions: {}
1818
jobs:
1919
pest:
2020
runs-on: ubuntu-latest
21-
strategy:
22-
matrix:
23-
include:
24-
- dependency-versions: lowest
25-
coverage: none
26-
- dependency-versions: highest
27-
coverage: xdebug
2821
steps:
2922
- uses: actions/checkout@v5
3023

3124
- uses: shivammathur/setup-php@v2
3225
with:
3326
php-version: '8.4'
34-
coverage: ${{ matrix.coverage }}
35-
27+
coverage: xdebug
3628
- uses: ramsey/composer-install@v3
37-
with:
38-
dependency-versions: ${{ matrix.dependency-versions }}
39-
composer-options: --no-audit --optimize-autoloader
4029

41-
- run: composer pest:unit -- ${COVERAGE} --ci --bail --stop-on-incomplete --fail-on-all-issues
42-
env:
43-
COVERAGE: ${{ matrix.coverage == 'xdebug' && '--coverage-clover coverage-unit.xml' || '' }}
44-
- run: composer pest:feature -- ${COVERAGE} --ci --bail --stop-on-incomplete --fail-on-all-issues
45-
env:
46-
COVERAGE: ${{ matrix.coverage == 'xdebug' && '--coverage-clover coverage-feature.xml' || '' }}
30+
- run: composer pest:unit -- --coverage-clover coverage-unit.xml --ci --bail --stop-on-incomplete --fail-on-all-issues
31+
- run: composer pest:feature -- --coverage-clover coverage-feature.xml --ci --bail --stop-on-incomplete --fail-on-all-issues
4732

4833
- uses: actions/upload-artifact@v4
49-
if: matrix.coverage == 'xdebug'
5034
with:
5135
name: coverage
5236
path: |
@@ -56,21 +40,14 @@ jobs:
5640
e2e:
5741
needs: pest
5842
runs-on: ubuntu-latest
59-
strategy:
60-
matrix:
61-
dependency-versions: [lowest, highest]
6243
steps:
6344
- uses: actions/checkout@v5
6445

6546
- uses: shivammathur/setup-php@v2
6647
with:
6748
php-version: '8.4'
6849
coverage: none
69-
7050
- uses: ramsey/composer-install@v3
71-
with:
72-
dependency-versions: ${{ matrix.dependency-versions }}
73-
composer-options: --no-audit --optimize-autoloader
7451

7552
- run: composer pest:e2e -- --ci --bail --stop-on-incomplete --fail-on-all-issues
7653

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
### Composer template
2-
composer.phar
3-
composer.lock
41
/vendor/
52
/coverage*.xml

0 commit comments

Comments
 (0)