Skip to content

Commit 85bfb40

Browse files
committed
Add github template
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 9159a6d commit 85bfb40

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/ISSUE_TEMPLATE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- BotMan Version: #.#.#
2+
- PHP Version:
3+
- Messaging Service(s):
4+
- Cache Driver:
5+
6+
### Description:
7+
8+
9+
### Steps To Reproduce:

.github/workflows/tests.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: 'Laravel Tests'
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 0 * * *'
8+
9+
jobs:
10+
tests-on-php71:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
php: [7.4, 7.3, 7.2, 7.1]
16+
17+
name: PHP${{ matrix.php }}
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v1
22+
23+
- name: Cache dependencies
24+
uses: actions/cache@v2
25+
with:
26+
path: ~/.composer/cache/files
27+
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
28+
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: ${{ matrix.php }}
33+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath
34+
coverage: none
35+
36+
- name: Install dependencies
37+
run: |
38+
composer install --prefer-dist --no-interaction --no-suggest
39+
- name: Execute tests
40+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)