Added CI setup and PR templates
This commit is contained in:
1
.github/CODEOWNERS
vendored
Normal file
1
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* @asantibanez
|
||||
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -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
.github/ISSUE_TEMPLATE/feature.md
vendored
Normal file
14
.github/ISSUE_TEMPLATE/feature.md
vendored
Normal file
@@ -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
.github/PULL_REQUEST_TEMPLATE
vendored
Normal file
18
.github/PULL_REQUEST_TEMPLATE
vendored
Normal file
@@ -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
.github/workflows/phpunit.yml
vendored
Normal file
29
.github/workflows/phpunit.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: PHPUnit
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
phpunit:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel Previous Run
|
||||
uses: styfle/cancel-workflow-action@0.6.0
|
||||
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
|
||||
Reference in New Issue
Block a user