MaketRandevu/.github/workflows/ci.yml

25 lines
501 B
YAML
Raw Normal View History

2021-11-05 20:50:38 +03:00
name: CI
on: [ push ]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
2021-11-05 20:58:14 +03:00
- name: Git clone
uses: actions/checkout@v2
- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: 7.4
2021-11-05 20:58:52 +03:00
php_extensions: gd
2021-11-05 20:58:14 +03:00
version: 2
2021-11-05 20:50:38 +03:00
- name: PHPUnit Tests
2021-11-05 21:00:59 +03:00
uses: php-actions/phpunit@v9
2021-11-05 20:50:38 +03:00
env:
TEST_NAME: Test
with:
bootstrap: tests/bootstrap.php
configuration: phpunit.xml