Skip to content

Commit

Permalink
[minor] ci adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 12, 2020
1 parent 59fbaeb commit a862b00
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,25 @@ jobs:
run: vendor/bin/simple-phpunit -v

prefer-lowest-tests:
name: "Test: PHP ${{ matrix.php }}, --prefer-lowest"
name: "Test: prefer-lowest"

runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 7.2
coverage: none

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: prefer-lowest-${{ matrix.php }}-${{ hashFiles('composer.json') }}
key: prefer-lowest-${{ hashFiles('composer.json') }}

- name: Install dependencies
run: |
Expand All @@ -80,30 +75,25 @@ jobs:
run: vendor/bin/simple-phpunit -v

dev-master-tests:
name: "Test: PHP ${{ matrix.php }}, dev-master"
name: "Test: dev-master"

runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 7.4
coverage: none

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dev-master-${{ matrix.php }}-${{ hashFiles('composer.json') }}
key: dev-master-${{ hashFiles('composer.json') }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit a862b00

Please sign in to comment.