Skip to content

Option syntax fix.

Option syntax fix. #2

Workflow file for this run

name: tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.4, 8.3]
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install composer and dependencies
uses: php-actions/composer@v6
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
env:
XDEBUG_MODE: coverage
with:
php_version: ${{ matrix.php }}
php_extensions: curl
bootstrap: vendor/autoload.php
configuration: phpunit.xml
php_extensions: xdebug

Check failure on line 30 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 30, Col: 11): 'php_extensions' is already defined
args: tests --coverage-clover ./coverage.xml
- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODE_COV_TOKEN }}
files: ./coverage.xml
verbose: true