Skip to content

Updated github actions #9

Updated github actions

Updated github actions #9

Workflow file for this run

name: tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
-main
-dev
jobs:
tests:
name: Tests with php8.3
runs-on: ubuntu-latest
continue-on-error: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up php8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: xdebug
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
- name: Setup redis
uses: chenjuneking/redis-setup-action@v1
with:

Check failure on line 37 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 37
containerName: wic_api_redis
hostPort: 6379
containerPort: 6379
password: password
- name: Run tests with coverage results
run: vendor/bin/phpunit --coverage-clover ./tests/_output/clover.xml