Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Acceptance

on: [push, pull_request]

jobs:
test-7-2:
runs-on: ubuntu-latest
name: Test PHP 7.2
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up PHP 7.2
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
- name: Composer
run: make install
- name: Test
run: make test

test-7-3:
runs-on: ubuntu-latest
name: Test PHP 7.3
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up PHP 7.3
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
- name: Composer
run: make install
- name: Test
run: make test

test-7-4:
runs-on: ubuntu-latest
name: Test PHP 7.4
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up PHP 7.4
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Composer
run: make install
- name: Test
run: make test

test-8-0:
runs-on: ubuntu-latest
name: Test PHP 8.0
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up PHP 8.0
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- name: Composer
run: make install
- name: Test
run: make test

cs-check:
runs-on: ubuntu-latest
name: Code standard
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up PHP 8.0
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- name: Composer
run: make install
- name: Code standard
run: make cs-check
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Abicart (Textalk Webshop) API-client
==========================

[![Build Status](https://travis-ci.com/Textalk/textalk-webshopclient-php.png)](https://travis-ci.com/Textalk/textalk-webshopclient-php)
[![Build Status](https://github.com/Textalk/textalk-webshopclient-php/actions/workflows/acceptance.yml/badge.svg)](https://github.com/Textalk/textalk-webshopclient-php/actions)
[![Coverage Status](https://coveralls.io/repos/Textalk/textalk-webshopclient-php/badge.png)](https://coveralls.io/r/Textalk/textalk-webshopclient-php)

A library to simplify API-usage on Abicart API.
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="tests/bootstrap.php" colors="true">
<phpunit colors="true" bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Unit tests">
<directory suffix=".php">tests</directory>
Expand Down