Skip to content

feat: test the ci.

feat: test the ci. #1

Workflow file for this run

name: Backend PHP CI
on:
push:
paths:
- backend/php/**
pull_request:
paths:
- backend/php/**
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Copy env file
working-directory: ./backend/php
run: cp env .env
- name: Install dependencies
uses: php-actions/composer@v6
working-directory: ./backend/php

Check failure on line 24 in .github/workflows/php-ci.yml

View workflow run for this annotation

GitHub Actions / Backend PHP CI

Invalid workflow file

The workflow is not valid. .github/workflows/php-ci.yml (Line: 24, Col: 9): Unexpected value 'working-directory' .github/workflows/php-ci.yml (Line: 30, Col: 9): Unexpected value 'working-directory'
with:
command: composer install
- name: PHPUnit Tests
uses: php-actions/phpunit@master
working-directory: ./backend/php
env:
TEST_NAME: Scarlett
with:
version: 9.6
bootstrap: vendor/autoload.php
configuration: test/phpunit.xml
args: --coverage-text