Skip to content

Commit

Permalink
Merge pull request #9 from sagautam5/pipeline
Browse files Browse the repository at this point in the history
Setup Pipeline for unit testing
  • Loading branch information
sagautam5 authored Jun 12, 2021
2 parents c48c29e + 1f0d6fc commit 8d91ded
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: 7.0
version: 1

- name: PHPUnit tests
uses: php-actions/phpunit@v3
with:
version: 4.0.0
php_version: 7.0
configuration: phpunit.xml
memory_limit: 256M
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Image Source: [Wikipedia(Provinces of Nepal)](https://en.wikipedia.org/wiki/Prov

Local States Nepal Requires

PHP >= 5.5
PHP >= 7.0

## Demo

Expand Down

0 comments on commit 8d91ded

Please sign in to comment.