Skip to content

Commit

Permalink
Add github
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 11, 2020
1 parent 54a7089 commit bf36b3f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- BotMan Version: #.#.#
- PHP Version:
- Messaging Service(s):
- Cache Driver:

### Description:


### Steps To Reproduce:
40 changes: 40 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 'Laravel Tests'

on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
tests-on-php71:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [7.4, 7.3, 7.2, 7.1]

name: PHP${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath
coverage: none

- name: Install dependencies
run: |
composer install --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit bf36b3f

Please sign in to comment.