Commit ebd39656 authored by Smolevich's avatar Smolevich

Add ci file for GIthub Actions

parent 069b233b
name: CI
on:
push:
branches:
tags:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.1, 7.2, 7.3]
steps:
- uses: actions/checkout@v1
- name: Show php version
run: php${{ matrix.php }} -v && composer -V
- name: Show docker and docker-compose versions
run: |
docker version
docker-compose version
- name: Build docker images
run: |
docker-compose build --build-arg PHP_VERSION=${{ matrix.php }}
docker-compose run --rm tests composer install --no-interaction
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover ./clover.xml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment