Skip to content

Commit

Permalink
CI: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Sep 7, 2021
1 parent 26d5505 commit 12ddce9
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
extensions: "json"
cache-version: "1"
composer-version: "v1"
composer-version: "v2"
composer-install: "composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-stable"

jobs:
Expand All @@ -23,7 +23,7 @@ jobs:

strategy:
matrix:
php-version: ["7.4"]
php-version: ["8.0"]
operating-system: ["ubuntu-latest"]
fail-fast: false

Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

strategy:
matrix:
php-version: ["7.4"]
php-version: ["8.0"]
operating-system: ["ubuntu-latest"]
fail-fast: false

Expand Down Expand Up @@ -138,20 +138,15 @@ jobs:

strategy:
matrix:
php-version: ["7.3", "7.4"]
php-version: ["7.4", "8.0"]
operating-system: ["ubuntu-latest"]
composer-args: [ "" ]
include:
- php-version: "7.3"
operating-system: "ubuntu-latest"
composer-args: "--prefer-lowest"
- php-version: "8.0"
operating-system: "ubuntu-latest"
composer-args: "--ignore-platform-reqs"
fail-fast: false

continue-on-error: "${{ matrix.php-version == '8.0' }}"

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
Expand Down Expand Up @@ -207,7 +202,7 @@ jobs:

strategy:
matrix:
php-version: ["7.4"]
php-version: ["8.0"]
operating-system: ["ubuntu-latest"]
fail-fast: false

Expand Down Expand Up @@ -257,7 +252,7 @@ jobs:
run: "${{ env.composer-install }}"

- name: "Tests"
run: "make coverage"
run: "make coverage-clover"

- name: "Coveralls.io"
env:
Expand All @@ -267,4 +262,3 @@ jobs:
run: |
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar
php php-coveralls.phar --verbose --config tests/.coveralls.yml

0 comments on commit 12ddce9

Please sign in to comment.