Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Github Actions #23

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Integrate"

on:
pull_request:
push:
branches:
- master

jobs:
ci:
name: "Run Build"
runs-on: ubuntu-latest

strategy:
matrix:
php-version:
- 7.1

services:
gotenberg:
image: thecodingmachine/gotenberg:6
ports:
- 3000:3000

steps:
- name: "Checkout"
uses: actions/checkout@v2

- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
tools: composer:v2

- name: "Install Dependencies"
run: composer install

- name: "Run csfix"
run: composer run csfix

- name: "Run cscheck"
run: composer run cscheck

- name: "Run phpstan"
run: composer run phpstan

- name: "Run Tests"
run: composer run phpunit
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.