Skip to content

Commit

Permalink
build: drop older PHP / SF versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Aug 16, 2021
1 parent 76232bc commit 98edd4d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 34 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,24 @@ jobs:
integration:
name: Integration
runs-on: ubuntu-latest

continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'

symfony:
- 4.0.*
- 4.1.*
- 4.2.*
- 4.3.*
- 4.4.*
- 5.0.*
- 5.1.*
- 5.2.*
- '5.0.*'
- '5.1.*'
- '5.2.*'
- '5.3.*'

experimental: [ false ]

include:
- php: '8.1'
experimental: true

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
}
],
"require": {
"php": ">=7.1",
"symfony/yaml": "^4.0|^5.0",
"symfony/config": "^4.0|^5.0"
"php": ">=7.4",
"symfony/yaml": "^5.0",
"symfony/config": "^5.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^8.0"
"phpunit/phpunit": "^9.0"
},
"minimum-stability": "stable",
"autoload": {
Expand Down
34 changes: 16 additions & 18 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="./Tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="VipxBotDetect test suite">
<directory suffix="Test.php">./Tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./build</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./Tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory>./</directory>
</include>
<exclude>
<directory>./build</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="VipxBotDetect test suite">
<directory suffix="Test.php">./Tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 98edd4d

Please sign in to comment.