Skip to content

Commit

Permalink
:octocat:
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Nov 18, 2020
1 parent cba5a17 commit d9e200e
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
# https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml

on:
pull_request:
push:
branches:
- master
tags:
- "**"
- pull_request
- push

name: "Continuous Integration"

Expand All @@ -25,20 +21,11 @@ jobs:
- php7.3
- php7.4

dependencies:
- lowest
- highest

steps:
- name: "Checkout"
uses: actions/checkout@v1.1.0

- name: "Install lowest dependencies with composer"
if: matrix.dependencies == 'lowest'
run: ${{ matrix.php-binary }} $(which composer) update --no-interaction --no-progress --no-suggest --prefer-lowest

- name: "Install highest dependencies with composer"
if: matrix.dependencies == 'highest'
- name: "Install dependencies with composer"
run: ${{ matrix.php-binary }} $(which composer) update --no-interaction --no-progress --no-suggest

- name: "Run unit tests with phpunit"
Expand Down

0 comments on commit d9e200e

Please sign in to comment.