Skip to content

Commit

Permalink
Merge pull request #585 from vyuldashev/l11
Browse files Browse the repository at this point in the history
laravel 11 test
  • Loading branch information
khepin authored Mar 14, 2024
2 parents 101c1ea + f87aa9d commit 30cc317
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 38 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['8.0', '8.1', '8.2']
stability: ['prefer-lowest', prefer-stable]
laravel: ['^9.0', '^10.0']
php: ['8.1', '8.2', '8.3']
stability: ['prefer-lowest', 'prefer-stable']
laravel: ['^10.0', '^11.0']
exclude:
- php: '8.0'
laravel: '^10.0'
- php: '8.1'
laravel: '^11.0'

name: 'PHP ${{ matrix.php }} - Laravel: ${{matrix.laravel}} - ${{ matrix.stability }}'

Expand Down Expand Up @@ -50,4 +50,4 @@ jobs:
run: ./vendor/bin/pint --test

- name: Execute tests
run: sleep 10 && vendor/bin/phpunit --verbose
run: sleep 10 && vendor/bin/phpunit
8 changes: 8 additions & 0 deletions CHANGELOG-14x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

All notable changes to this project will be documented in this file.

## [unreleased](https://github.com/vyuldashev/laravel-queue-rabbitmq/compare/v13.3.0...master)

## [14.0.0]
- First release compatible with Laravel 11
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"illuminate/queue": "^9.0|^10.0",
"illuminate/queue": "^10.0|^11.0",
"php-amqplib/php-amqplib": "^v3.6"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"phpunit/phpunit": "^10.0|^11.0",
"mockery/mockery": "^1.0",
"laravel/horizon": "^5.0",
"orchestra/testbench": "^7.0|^8.0",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"laravel/pint": "^1.2",
"laravel/framework": "^9.0|^10.0"
"laravel/framework": "^9.0|^10.0|^11.0"
},
"autoload": {
"psr-4": {
Expand Down
38 changes: 13 additions & 25 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="false" bootstrap="vendor/autoload.php" colors="true"
convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true"
processIsolation="false" stopOnError="false" stopOnFailure="false" verbose="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
</report>
</coverage>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="HOST" value="127.0.0.1"/>
<env name="PORT" value="5672"/>
<env name="PORT_SSL" value="5671"/>
<env name="RABBITMQ_SSL_CAFILE" value="./tests/files/rootCA.pem"/>
</php>
<logging/>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<php>
<env name="HOST" value="127.0.0.1"/>
<env name="PORT" value="5672"/>
<env name="PORT_SSL" value="5671"/>
<env name="RABBITMQ_SSL_CAFILE" value="./tests/files/rootCA.pem"/>
</php>
<logging/>
</phpunit>
3 changes: 0 additions & 3 deletions tests/Feature/SslQueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

use PhpAmqpLib\Connection\AMQPSSLConnection;

/**
* @group functional
*/
class SslQueueTest extends TestCase
{
public function setUp(): void
Expand Down

0 comments on commit 30cc317

Please sign in to comment.