iflrandevu/.github/workflows/ci.yml

24 lines
460 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:
2023-03-17 09:58:19 +03:00
php_version: 8.1
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:
configuration: phpunit.xml