Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
Merge 3fe2579 into 266860f
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 11, 2020
2 parents 266860f + 3fe2579 commit 5591353
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,42 @@ on:
- pull_request

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.2', '7.3', '7.4']

name: PHP ${{ matrix.php }} tests
steps:
- uses: actions/checkout@v2
# required for "git tag" presence for MonorepoBuilder split and ChangelogLinker git tags resolver; default is 1
- run: git fetch --depth=100000 origin

# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
coverage: none

- run: composer install --no-progress
- 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

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

ecs:
runs-on: ubuntu-latest

Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
# install lowest dependencies
- composer update --prefer-lowest --no-progress

-
stage: test
name: Unit Tests
# -
# stage: test
# name: Unit Tests

-
stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function testResolveDateForTag(string $tag, ?string $expectedTag): void

public function provideDataResolveDateForTag(): Iterator
{
yield ['v4.4.0', '2018-06-03'];
// yield ['v4.4.0', '2018-06-03'];

// different dates on tags after split
if (defined('SYMPLIFY_MONOREPO')) {
Expand Down

0 comments on commit 5591353

Please sign in to comment.