Skip to content

Test

Test #1

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ubuntu-latest
uses: actions/setup-php@v3
uses: php-actions/composer@v6 # or alternative dependency management

Check failure on line 22 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 22, Col: 9): 'uses' is already defined .github/workflows/test.yml (Line: 23, Col: 9): 'uses' is already defined
uses: php-actions/phpunit@v3
#- wget http://getcomposer.org/composer.phar
#- php composer.phar install
- run: phpunit --bootstrap ./vendor/autoload.php ./tests/*