Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 4, 2023
1 parent 52a0f38 commit fd0535b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 56 deletions.
1 change: 0 additions & 1 deletion .github/workflows/audits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
os:
- "ubuntu-latest"
php:
- 8.1
- 8.2
- 8.3
experimental:
Expand Down
53 changes: 1 addition & 52 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ jobs:
os:
- "ubuntu-latest"
php:
- 8.1
- 8.2
- 8.3
phpunit:
- "~10.1.0"
- "~10.4.0"
- "~10.5.0"
- "~11.0.0"
dependencies:
- "highest"
- "lowest"
Expand Down Expand Up @@ -57,53 +56,3 @@ jobs:
run: composer run test
env:
RAY_ENABLED: false

tests-on-phpunit-9:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.1
- 8.2
phpunit:
- "~9.6.0"
dependencies:
- "highest"
- "lowest"
experimental:
- true

name: PHP${{ matrix.php }} with PHPUnit${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }})

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, intl, fileinfo
coverage: none

- name: Install PHPUnit ${{ matrix.phpunit }}
run: |
composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update --dev
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --no-cache"

- name: Installed dependencies
run: composer show -D

- name: Execute tests
run: vendor/bin/phpunit --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php tests
env:
RAY_ENABLED: false
TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: true
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
}
},
"require": {
"php": "^8.1",
"laravel/browser-kit-testing": "^6.4 || ^7.0",
"orchestra/testbench": "^8.16",
"php": "^8.2",
"laravel/browser-kit-testing": "dev-develop",
"orchestra/testbench": "^9.0",
"symfony/dom-crawler": "^6.2"
},
"require-dev": {
Expand Down

0 comments on commit fd0535b

Please sign in to comment.