Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobQuistNL committed Apr 25, 2023
1 parent 6b130ed commit ca6862f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -6,9 +6,11 @@ jobs:
runs-on: ubuntu-latest
container: sineverba/php8xc:1.11.0
steps:
- uses: actions/checkout@v3
- name: Check out repository code
uses: actions/checkout@v3

- uses: php-actions/composer@v6
- name: Validate composer files
run: composer validate --strict

- name: Cache vendor folder
uses: actions/cache@v3
Expand All @@ -22,6 +24,9 @@ jobs:
path: "/tmp/cache"
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- name: Install composer dependencies
run: composer install

- name: Run PHPUnit + Coverage
run: vendor/bin/phpunit --coverage-clover ./coverage.xml

Expand All @@ -30,4 +35,4 @@ jobs:
with:
token: ${{ secrets.CODE_COV_TOKEN }}
files: ./coverage.xml
verbose: true
verbose: true

0 comments on commit ca6862f

Please sign in to comment.