Skip to content

Commit

Permalink
Remove unused workflow options
Browse files Browse the repository at this point in the history
  • Loading branch information
MisatoTremor committed Feb 28, 2024
1 parent 6db7632 commit 5c58f49
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 26 deletions.
33 changes: 7 additions & 26 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
name: "PHPUnit"
runs-on: "ubuntu-20.04"
env:
SYMFONY_REQUIRE: ${{matrix.symfony-require}}
SYMFONY_DEPRECATIONS_HELPER: ${{matrix.symfony-deprecations-helper}}

strategy:
Expand All @@ -25,40 +24,21 @@ jobs:
- "8.1"
- "8.2"
dependencies:
- "lowest"
- "highest"
stability:
- "stable"
symfony-require:
- ""
symfony-deprecations-helper:
- ""
include:
# Tests the lowest set of dependencies
- dependencies: "lowest"
- php-version: "7.4"
dependencies: "lowest"
stability: "stable"
php-version: "7.4"
symfony-deprecations-helper: "weak"

# Test LTS
- symfony-require: "4.4.*"
dependencies: "stable"
php-version: "7.4"
symfony-deprecations-helper: "weak"

# Test against latest Symfony 5.x dev
- symfony-require: "5.*"
dependencies: "highest"
php-version: "8.0"
symfony-deprecations-helper: "weak"

# Test against latest Symfony 6.x dev
- symfony-require: "6.*"
dependencies: "highest"
php-version: "8.0"
symfony-deprecations-helper: "weak"

# Test against latest Symfony dev
- php-version: "8.1"
# Test against highest set of dependencies
- php-version: "8.3"
dependencies: "highest"
stability: "dev"
symfony-deprecations-helper: "weak"
Expand Down Expand Up @@ -92,8 +72,9 @@ jobs:
- name: "Upload coverage file"
uses: "actions/upload-artifact@v4"
with:
name: "phpunit-${{ matrix.php-version }}-${{ matrix.symfony-require }}-${{ matrix.dependencies }}-${{ matrix.stability }}-${{ matrix.symfony-deprecations-helper }}-${{ hashFiles('composer.lock') }}.coverage"
name: "phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.stability }}-${{ matrix.symfony-deprecations-helper }}-${{ hashFiles('composer.lock') }}.coverage"
path: "coverage.xml"
if-no-files-found: "ignore"

upload_coverage:
name: "Upload coverage to Codecov"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CHANGELOG
1.1.x
-----

* Remove unused workflow options
* Fix artifact path
* Update artifact and codecov GH actions
* Update GH actions using old node version
Expand Down

0 comments on commit 5c58f49

Please sign in to comment.