Skip to content

Commit

Permalink
Merge branch 'main' into clock
Browse files Browse the repository at this point in the history
* main:
  PHPUnit Workflow (SonsOfPHP#33)
  • Loading branch information
JoshuaEstes committed Oct 23, 2023
2 parents 7eb4eca + 504e78a commit c46c7e5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
branches: [main]
paths:
- '.github/workflows/unit-tests.yml'
- 'packages/**'
- 'src/**'
- 'composer.json'
- 'phpunit.xml.dist'
pull_request:
branches: [main]
paths:
- '.github/workflows/unit-tests.yml'
- 'packages/**'
- 'src/**'
- 'composer.json'
- 'phpunit.xml.dist'

Expand All @@ -32,12 +32,10 @@ jobs:
php-version: ['8.1', '8.2']
steps:
- uses: actions/checkout@v3

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

- name: Cache Composer Packages
id: composer-cache
uses: actions/cache@v3
Expand All @@ -46,7 +44,4 @@ jobs:
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- run: make install

- run: make test
- run: make install test

0 comments on commit c46c7e5

Please sign in to comment.