Skip to content

Moving to Github Actions #2

Moving to Github Actions

Moving to Github Actions #2

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
- uses: actions/setup-php@v3
- uses: php-actions/composer@v6 # or alternative dependency management

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- uses: php-actions/phpunit@v3
#- wget http://getcomposer.org/composer.phar
#- php composer.phar install
- name: Run tests
- run: phpunit --bootstrap ./vendor/autoload.php ./tests/*