Skip to content

Commit

Permalink
[CI] temporarily disable lowest dependencies, they get stuck for some…
Browse files Browse the repository at this point in the history
… reason
  • Loading branch information
TomasVotruba committed Jul 30, 2020
1 parent 8f765da commit 10e024b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
28 changes: 28 additions & 0 deletions .github/inactive_workflows/test_lowest_dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Tests Lowest Dependencies

on:
pull_request: null
push:
branches:
- master

jobs:
test_lowest_dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --depth=100000 origin

# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v1
with:
php-version: 7.2
coverage: none
# report phpunit errors into files-changed PR tab
# https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md

- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- run: composer update --no-progress # --prefer-lowest
- run: vendor/bin/phpunit
20 changes: 0 additions & 20 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,3 @@ jobs:

- run: composer install --no-progress --ansi
- run: vendor/bin/phpunit

test_lowest_dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --depth=100000 origin

# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v1
with:
php-version: 7.2
coverage: none
# report phpunit errors into files-changed PR tab
# https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md

- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- run: composer update --no-progress # --prefer-lowest
- run: vendor/bin/phpunit

0 comments on commit 10e024b

Please sign in to comment.