Skip to content

Commit

Permalink
Added CI setup and PR templates
Browse files Browse the repository at this point in the history
  • Loading branch information
asantibanez committed Dec 16, 2020
1 parent 75f46fc commit b649aae
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @asantibanez
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. '...'
2. '...'
3. '...'

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.

**Solution Ideas**
Initial thoughts or details about how this could be fixed
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feature
about: New feature idea

---

### Summary
What's the new feature about? What should it do?

### Proposal
How should it work? API ideas?

### Additional Notes
Reference links or comments
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Summary

[Provide a summary of the change.]

## Issue

[If exists, provide a link to the corresponding issue(s).]

## Type of Change

- [ ] :rocket: New Feature
- [ ] :bug: Bug Fix
- [ ] :hammer: Refactor
- [ ] :question: [Other]

## Screenshot/Video

[Provide a screenshot or video that describes the change if applicable]
29 changes: 29 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: PHPUnit

on: [push]

jobs:
phpunit:
runs-on: ubuntu-latest

steps:
- name: Cancel Previous Run
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, exif, imagick, bcmath
coverage: none

- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer dependencies
run: composer install --ignore-platform-reqs

- name: Run tests
run: ./vendor/bin/phpunit

0 comments on commit b649aae

Please sign in to comment.