Skip to content

Commit

Permalink
Add symfony version
Browse files Browse the repository at this point in the history
  • Loading branch information
Smeagolworms4 committed Dec 19, 2023
1 parent a3c188a commit 86fac3d
Show file tree
Hide file tree
Showing 8 changed files with 121 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/actions/test/action.yml
Expand Up @@ -46,6 +46,8 @@ runs:
run: |
if [ "${{ inputs.symfony_version }}" != "" ]; then composer require "symfony/symfony:${{ inputs.symfony_version }}" --no-update; fi;
if [ "${{ inputs.doctrine_version }}" != "" ]; then composer require "doctrine/orm:${{ inputs.doctrine_version }}" --no-update; fi;
if [ "${{ inputs.symfony_version }}" == "5.0" ]; then composer require "sensio/framework-extra-bundle:6.0" --no-update; fi; # Fix deprecated methode on SF 5.0
if [[ "$(echo "${{ inputs.symfony_version }} >= 6.1" | bc -l)" -eq 1 ]]; then composer require "monolog/monolog" "masterminds/html5" --no-update; fi; # Fix dependencie on SF >= 6.1
if [ "${{ inputs.php_version }}" == "7.2" ]; then composer require --dev "phpunit/phpunit:8.5" --no-update; fi;
if [ "${{ inputs.php_version }}" == "7.1" ]; then composer require --dev "phpunit/phpunit:7" --no-update; fi;
if [ "${{ inputs.php_version }}" == "7.0" ]; then composer require --dev "phpunit/phpunit:6" --no-update; fi;
Expand Down
@@ -1,4 +1,4 @@
name: Symfony 5.3
name: PHP 8.2

on:
push:
Expand All @@ -17,6 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
symfony_version: '5.3'
symfony_version: '6.2'
php_version: '8.2'
github_token: ${{ secrets.GITHUB_TOKEN }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
23 changes: 23 additions & 0 deletions .github/workflows/php_8.3.yml
@@ -0,0 +1,23 @@
name: PHP 8.3

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
tags:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
symfony_version: '6.4'
php_version: '8.3'
github_token: ${{ secrets.GITHUB_TOKEN }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
23 changes: 23 additions & 0 deletions .github/workflows/symfony_6.1.yml
@@ -0,0 +1,23 @@
name: Symfony 6.1

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
tags:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
symfony_version: '6.1'
php_version: '8.1'
github_token: ${{ secrets.GITHUB_TOKEN }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
23 changes: 23 additions & 0 deletions .github/workflows/symfony_6.2.yml
@@ -0,0 +1,23 @@
name: Symfony 6.2

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
tags:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
symfony_version: '6.2'
php_version: '8.1'
github_token: ${{ secrets.GITHUB_TOKEN }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
23 changes: 23 additions & 0 deletions .github/workflows/symfony_6.3.yml
@@ -0,0 +1,23 @@
name: Symfony 6.3

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
tags:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
symfony_version: '6.3'
php_version: '8.1'
github_token: ${{ secrets.GITHUB_TOKEN }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
23 changes: 23 additions & 0 deletions .github/workflows/symfony_6.4.yml
@@ -0,0 +1,23 @@
name: Symfony 6.4

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
tags:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
symfony_version: '6.4'
php_version: '8.2'
github_token: ${{ secrets.GITHUB_TOKEN }}
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@

[![Build Status](https://github.com/GollumSF/entity-relation-setter/actions/workflows/symfony_4.4.yml/badge.svg?branch=master)](https://github.com/GollumSF/entity-relation-setter/actions)
[![Build Status](https://github.com/GollumSF/entity-relation-setter/actions/workflows/symfony_5.4.yml/badge.svg?branch=master)](https://github.com/GollumSF/entity-relation-setter/actions)
[![Build Status](https://github.com/GollumSF/entity-relation-setter/actions/workflows/symfony_6.0.yml/badge.svg?branch=master)](https://github.com/GollumSF/entity-relation-setter/actions)
[![Build Status](https://github.com/GollumSF/entity-relation-setter/actions/workflows/symfony_6.4.yml/badge.svg?branch=master)](https://github.com/GollumSF/entity-relation-setter/actions)

[![Coverage](https://coveralls.io/repos/github/GollumSF/entity-relation-setter/badge.svg?branch=master)](https://coveralls.io/github/GollumSF/entity-relation-setter)
[![License](https://poser.pugx.org/gollumsf/entity-relation-setter/license)](https://packagist.org/packages/gollumsf/entity-relation-setter)
Expand Down

0 comments on commit 86fac3d

Please sign in to comment.