Skip to content

Commit

Permalink
Merge pull request #31 from MacPaw/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
IiiigorGG authored Jan 17, 2022
2 parents 17c5757 + f8bf6d1 commit d171ae5
Show file tree
Hide file tree
Showing 19 changed files with 130 additions and 5,550 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
run: |
composer require symfony/messenger:${{ matrix.symfony-versions }} --no-update --no-scripts
composer require symfony/serializer:${{ matrix.symfony-versions }} --no-update --no-scripts
composer require symfony/dependency-injection:${{ matrix.symfony-versions }} --no-update --no-scripts
composer require symfony/http-kernel:${{ matrix.symfony-versions }} --no-update --no-scripts
- name: Install dependencies
run: composer install
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/create-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
/composer.lock
/build/
/.phpunit.result.cache

/node_modules/
/.idea/
/package-lock.json
41 changes: 0 additions & 41 deletions .releaserc

This file was deleted.

21 changes: 5 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Behat Messenger Context
Behat Messenger Context Bundle
=================================

| Version | Build Status | Code Coverage |
Expand All @@ -9,26 +9,15 @@ Behat Messenger Context
Installation
============

Step 1: Install Context
Step 1: Install Bundle
----------------------------------
Open a command console, enter your project directory and execute:

```console
$ composer require --dev macpaw/behat-messenger-context
```

Step 2: Update Container config to load Messenger Context
----------------------------------
In the `config/services_test.yaml` file of your project:

```
BehatMessengerContext\:
resource: '../vendor/macpaw/behat-messenger-context/src/*'
arguments:
- '@test.service_container'
```

Step 3: Configure Messenger
Step 2: Configure Messenger
=============
Copying `config/packages/dev/messenger.yaml` and pasting that into `config/packages/test/`. This gives us messenger configuration that will only be used in the test environment. Uncomment the code, and replace sync with in-memory. Do that for both of the transports.

Expand All @@ -43,7 +32,7 @@ framework:
```


Step 4: Configure Behat
Step 3: Configure Behat
=============
Go to `behat.yml`

Expand All @@ -61,4 +50,4 @@ Go to `behat.yml`
[master Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/master
[master Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/master?logo=codecov
[develop Code Coverage]: https://codecov.io/gh/macpaw/BehatMessengerContext/branch/develop
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatMessengerContext/develop?logo=codecov
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "macpaw/behat-messenger-context",
"type": "library",
"type": "symfony-bundle",
"description": "Behat Context for testing Symfony Messenger component",
"keywords": [
"MacPaw",
Expand Down Expand Up @@ -29,7 +29,10 @@
"php": "^7.4 || ^8.0",
"behat/behat": "^3.0",
"symfony/messenger": "^4.4 || ^5.0 || ^6.0",
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"
"symfony/serializer": "^4.4 || ^5.0 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0",
"macpaw/similar-arrays": "^1.0"
},
"require-dev": {
"phpstan/phpstan": "^0.12",
Expand Down
Loading

0 comments on commit d171ae5

Please sign in to comment.