mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-11-15 23:10:38 +00:00
27 lines
507 B
YAML
27 lines
507 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Validate composer.json and composer.lock
|
|
run: composer validate
|
|
|
|
- name: Install composer dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
- name: Run phpunit tests
|
|
uses: php-actions/phpunit@v1.0.0
|
|
with:
|
|
# Configuration file location
|
|
config: ./phpunit.xml
|