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
68 changes: 68 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Workflow
on: [push]
jobs:
php_7_job:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.0','7.1','7.2','7.3','7.4']
include:
- os: ubuntu-18.04
SYMFONY_VERSION: 2.7.*
- os: ubuntu-18.04
SYMFONY_VERSION: 2.8.*
- os: ubuntu-18.04
SYMFONY_VERSION: 3.4.*
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: intl #optional
ini-values: "post_max_size=256M" #optional
- name: Check PHP Version
run: php -v
- run: sudo composer self-update
- run: >-
composer require symfony/framework-bundle:${SYMFONY_VERSION}
--no-update
env:
SYMFONY_VERSION: '${{ matrix.SYMFONY_VERSION }}'
- run: composer install --prefer-dist --no-interaction
- run: ./src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh
- run: ./src/BeSimple/SoapClient/Tests/bin/axis.sh
- run: bin/simple-phpunit --debug

php_5_job:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['5.6']
include:
- os: ubuntu-18.04
SYMFONY_VERSION: 2.7.*
- os: ubuntu-18.04
SYMFONY_VERSION: 2.8.*
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: intl #optional
ini-values: "post_max_size=256M" #optional
- name: Check PHP Version
run: php -v
- run: sudo composer self-update
- run: >-
composer require symfony/framework-bundle:${SYMFONY_VERSION}
--no-update
env:
SYMFONY_VERSION: '${{ matrix.SYMFONY_VERSION }}'
- run: composer install --prefer-dist --no-interaction
- run: ./src/BeSimple/SoapClient/Tests/bin/phpwebserver.sh
- run: ./src/BeSimple/SoapClient/Tests/bin/axis.sh
- run: bin/simple-phpunit --coverage-text --debug
1 change: 0 additions & 1 deletion src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ abstract class AbstractWebServerTest extends \PHPUnit\Framework\TestCase
{
// when using the SetUpTearDownTrait, methods like doSetup() can
// be defined with and without the 'void' return type, as you wish
use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait;

/**
* @var ProcessBuilder
Expand Down
1 change: 0 additions & 1 deletion src/BeSimple/SoapClient/Tests/AxisInterop/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class TestCase extends \PHPUnit\Framework\TestCase
{
// when using the SetUpTearDownTrait, methods like doSetup() can
// be defined with and without the 'void' return type, as you wish
use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait;

protected function doSetUp()
{
Expand Down
1 change: 0 additions & 1 deletion src/BeSimple/SoapClient/Tests/ServerInterop/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class TestCase extends \PHPUnit\Framework\TestCase
{
// when using the SetUpTearDownTrait, methods like doSetup() can
// be defined with and without the 'void' return type, as you wish
use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait;

protected function doSetUp()
{
Expand Down
1 change: 0 additions & 1 deletion src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class WsdlDownloaderTest extends AbstractWebserverTest
{
// when using the SetUpTearDownTrait, methods like doSetup() can
// be defined with and without the 'void' return type, as you wish
use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait;

protected static $filesystem;

Expand Down
1 change: 0 additions & 1 deletion src/BeSimple/SoapCommon/Tests/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class SoapRequestTest extends \PHPUnit\Framework\TestCase
{
// when using the SetUpTearDownTrait, methods like doSetup() can
// be defined with and without the 'void' return type, as you wish
use \Symfony\Bridge\PhpUnit\SetUpTearDownTrait;

public function testSetEnabled()
{
Expand Down