Skip to content

add Github Actions integration #1

add Github Actions integration

add Github Actions integration #1

Workflow file for this run

name: Tests
on:
push:
schedule:
- cron: '0 0 * * THU'
jobs:
tests:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v2
- uses: actions/checkout@v4
- uses: php-actions/composer@v6
with:
php_version: ${{ matrix.php-versions }}
version: 2
- run: XDEBUG_MODE=coverage ./vendor/bin/phpunit
# - run: XDEBUG_MODE=coverage ./vendor/bin/phpunit
# - name: Upload coverage results to Coveralls
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# composer global require php-coveralls/php-coveralls
# php-coveralls --coverage_clover=build/logs/clover.xml -v