You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
790 B
YAML
36 lines
790 B
YAML
name: GitHubBuild
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Validate composer.json and composer.lock
|
|
run: composer validate
|
|
|
|
- name: setup templates_c
|
|
run: mkdir templates_c || true
|
|
|
|
- name: touch config.local.php
|
|
run: touch config.local.php && php -v
|
|
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
- name: Build/test
|
|
run: composer build
|
|
|
|
- name: setup coveralls
|
|
run: mkdir -p build/logs || true
|
|
|
|
- name: Coveralls
|
|
run: php vendor/bin/php-coveralls -v --coverage_clover=coverage.xml || true
|
|
env:
|
|
COVERALLS_RUN_LOCALLY: 1
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|