Skip to content

Commit

Permalink
Merge pull request #8 from MacPaw/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Yozhef authored Jan 17, 2022
2 parents d78c234 + 6ae8ca0 commit aacacc5
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 81 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,32 @@ jobs:
- '8.0'
- '8.1'
coverage: ['none']
symfony-versions:
- '4.4.*'
- '5.1.*'
- '5.2.*'
- '5.3.*'
include:
- php: '8.0'
symfony-versions: '^6.0'
coverage: 'none'
- php: '8.1'
symfony-versions: '^6.0'
coverage: 'none'
- description: 'Log Code Coverage'
php: '8.1'
php: '8.0'
coverage: 'xdebug'
symfony-versions: '^5.2'

name: PHP ${{ matrix.php }} ${{ matrix.description }}
name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}
key: ${{ matrix.php }}-${{ matrix.symfony-versions }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -48,8 +60,15 @@ jobs:
uses: actions/cache@v2.1.2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.symfony-versions }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.symfony-versions }}-composer

- name: Update Symfony version
if: matrix.symfony-versions != ''
run: |
composer require symfony/yaml:${{ 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.

41 changes: 0 additions & 41 deletions .releaserc

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Symfony Behat Redis Context

| Version | Build Status | Code Coverage |
|:---------:|:-------------:|:-----:|
| `master`| [![CI][master Build Status Image]][master Build Status] | [![Coverage Status][master Code Coverage Image]][master Code Coverage] |
| `main`| [![CI][main Build Status Image]][main Build Status] | [![Coverage Status][main Code Coverage Image]][main Code Coverage] |
| `develop`| [![CI][develop Build Status Image]][develop Build Status] | [![Coverage Status][develop Code Coverage Image]][develop Code Coverage] |

Installation
Expand Down Expand Up @@ -98,11 +98,11 @@ Go to `behat.yml`
...
```

[master Build Status]: https://github.com/macpaw/BehatRedisContext/actions?query=workflow%3ACI+branch%3Amaster
[master Build Status Image]: https://github.com/macpaw/BehatRedisContext/workflows/CI/badge.svg?branch=master
[main Build Status]: https://github.com/macpaw/BehatRedisContext/actions?query=workflow%3ACI+branch%3Amain
[main Build Status Image]: https://github.com/macpaw/BehatRedisContext/workflows/CI/badge.svg?branch=main
[develop Build Status]: https://github.com/macpaw/BehatRedisContext/actions?query=workflow%3ACI+branch%3Adevelop
[develop Build Status Image]: https://github.com/macpaw/BehatRedisContext/workflows/CI/badge.svg?branch=develop
[master Code Coverage]: https://codecov.io/gh/macpaw/BehatRedisContext/branch/master
[master Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatRedisContext/master?logo=codecov
[main Code Coverage]: https://codecov.io/gh/macpaw/BehatRedisContext/branch/main
[main Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatRedisContext/main?logo=codecov
[develop Code Coverage]: https://codecov.io/gh/macpaw/BehatRedisContext/branch/develop
[develop Code Coverage Image]: https://img.shields.io/codecov/c/github/macpaw/BehatRedisContext/develop?logo=codecov
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.1",
"husky": "^4.3.0",
"semantic-release": "^17.4.7"
"husky": "^4.3.0"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit aacacc5

Please sign in to comment.