mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-04 06:05:29 +01:00
46 lines
883 B
YAML
46 lines
883 B
YAML
name: phpunit
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- .github/workflows/phpunit.yml
|
|
- app/**
|
|
- bootstrap/**
|
|
- config/**
|
|
- database/**
|
|
- docker/**
|
|
- public/**
|
|
- resources/**
|
|
- routes/**
|
|
- storage/**
|
|
- tests/**
|
|
- .dockerignore
|
|
- .env.travis
|
|
- artisan
|
|
- composer.json
|
|
- composer.lock
|
|
- Dockerfile
|
|
- phpunit.xml
|
|
- server.php
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
uses: php-actions/composer@v6
|
|
with:
|
|
php_version: 7.4
|
|
dev: no
|
|
|
|
- name: Run PHPUnit tests
|
|
uses: php-actions/phpunit@v3
|
|
with:
|
|
php_version: 7.4
|
|
version: 9.5
|
|
bootstrap: vendor/autoload.php
|
|
configuration: phpunit.xml |