Skip to content

Commit

Permalink
Merge pull request #444 from picqer/github-actions
Browse files Browse the repository at this point in the history
GitHub actions
  • Loading branch information
casperbakker authored Nov 4, 2020
2 parents 6bf0689 + a22e4e5 commit 21e1e90
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 16 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run phpunit
on: [ push ]

jobs:
test:
strategy:
matrix:
php-versions: [ '7.2', '7.3', '7.4', '8.0' ]
name: PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: PHP version check
run: php -v
- name: Composer install
run: composer install --prefer-dist --no-interaction --no-progress --no-suggest
- name: Run tests
run: vendor/bin/phpunit
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# exact-php-client

[![Build Status](https://travis-ci.org/picqer/exact-php-client.svg?branch=master)](https://travis-ci.org/picqer/exact-php-client)
![Run phpunit](https://github.com/picqer/exact-php-client/workflows/Run%20phpunit/badge.svg)

PHP client library to use the Exact Online API.

Note: For Guzzle 6 use v3, for Guzzle 3 use v1.
Note: For Guzzle 6/7 use v3, for Guzzle 3 use v1.

## Direct link to Exact Online docs
https://support.exactonline.com/community/s/knowledge-base#All-All-DNO-Content-getting-started
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"guzzlehttp/guzzle": "~6.0|~7.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5"
"phpunit/phpunit": "^8.5|^9.3"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 21e1e90

Please sign in to comment.