Skip to content

Commit 183ebba

Browse files
authored
ci: ignore platform requirements to install dependencies (#115)
1 parent f31374f commit 183ebba

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Format
33
on:
44
pull_request:
55
paths:
6-
- '**.php'
6+
- "**.php"
77

88
jobs:
99
php-cs-fixer:
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v1
1414

1515
- name: Install
16-
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist --optimize-autoloader
16+
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs
1717

1818
- name: Run php-cs-fixer
1919
run: ./vendor/bin/php-cs-fixer fix

.github/workflows/test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ jobs:
1616
- uses: actions/checkout@v1
1717

1818
- name: Install
19-
run: composer update --no-interaction --no-suggest
19+
run: composer update --no-interaction --no-suggest --ignore-platform-reqs
2020

2121
- name: Unit tests
2222
run: composer test
23-
24-
- name: Codecov
25-
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)