Skip to content

Merge pull request #4 from nodus-it/add-coverage #17

Merge pull request #4 from nodus-it/add-coverage

Merge pull request #4 from nodus-it/add-coverage #17

Workflow file for this run

name: Unit-Tests
on: [push]
jobs:
pests-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- uses: actions/checkout@v4
- name: Install Dependencies
run: composer install --no-ansi --no-interaction --prefer-dist
- name: Execute tests (Unit and Feature tests) via Pest PHP
run: vendor/bin/pest --coverage-cobertura coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

Check failure on line 21 in .github/workflows/unittests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unittests.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}