Skip to content

Commit

Permalink
Merge pull request #50 from Flutterwave/development
Browse files Browse the repository at this point in the history
Dependency update
  • Loading branch information
corneliusyaovi authored Nov 22, 2022
2 parents 527732a + e5d9240 commit e8dfd50
Show file tree
Hide file tree
Showing 381 changed files with 8,935 additions and 36,573 deletions.
File renamed without changes.
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: PHP Test

on:
push:
branches: [ "development" ]
pull_request:
branches: [ "development" ]
permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

env:
PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
ENV: ${{ secrets.ENV }}

steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: PHPStan analysis
run: vendor/bin/phpstan analyse tests --no-progress --no-interaction --error-format=table

- name: Run test suite
run: ./vendor/bin/pest
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,11 @@ tmtags
# Local History for Visual Studio Code
.history/

vendor

vendor/
composer.lock

*.log
examples/*.log
examples/endpoint/*.log
example.php
.phpunit.result.cache
Loading

0 comments on commit e8dfd50

Please sign in to comment.