mirror of
https://github.com/filegator/filegator.git
synced 2025-08-01 04:00:33 +02:00
Create php.yml
This commit is contained in:
23
.github/workflows/php.yml
vendored
Normal file
23
.github/workflows/php.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: PHP
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Validate composer.json and composer.lock
|
||||||
|
run: composer validate
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: composer install --no-interaction
|
||||||
|
|
||||||
|
- name: Copy configuration.php
|
||||||
|
run: cp configuration_sample.php configuration.php
|
||||||
|
|
||||||
|
- name: Execute tests
|
||||||
|
run: vendor/bin/phpunit
|
Reference in New Issue
Block a user