Skip to content

Commit

Permalink
Merge pull request #8101 from kenjis/add-name-to-workflows
Browse files Browse the repository at this point in the history
chore: add names to github workflows
  • Loading branch information
kenjis authored Oct 27, 2023
2 parents aca40b3 + 1bae325 commit 72dab03
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-autoreview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Automatic Code Review
name: AutoReview

on:
pull_request:
Expand All @@ -23,9 +23,10 @@ permissions:

jobs:
auto-review-tests:
name: Automatic Code Review
uses: ./.github/workflows/reusable-serviceless-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
job-name: Automatic Code Review [PHP 8.1]
job-name: PHP 8.1
php-version: '8.1'
job-id: auto-review-tests
group-name: AutoReview
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
echo "version=8.1" >> $GITHUB_OUTPUT
sanity-tests:
name: Others
needs: coverage-php-version

strategy:
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
extra-composer-options: ${{ matrix.composer-option }}

database-live-tests:
name: DatabaseLive
needs:
- coverage-php-version
- sanity-tests
Expand Down Expand Up @@ -107,7 +109,7 @@ jobs:

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
job-name: Database Live Tests
job-name:
php-version: ${{ matrix.php-version }}
job-id: database-live-tests
db-platform: ${{ matrix.db-platform }}
Expand All @@ -120,6 +122,7 @@ jobs:
extra-composer-options: ${{ matrix.composer-option }}

separate-process-tests:
name: SeparateProcess
needs:
- coverage-php-version
- sanity-tests
Expand All @@ -138,7 +141,7 @@ jobs:

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
job-name: Separate Process Tests
job-name:
php-version: ${{ matrix.php-version }}
job-id: separate-process-tests
group-name: SeparateProcess
Expand All @@ -149,6 +152,7 @@ jobs:
extra-composer-options: ${{ matrix.composer-option }}

cache-live-tests:
name: CacheLive
needs:
- coverage-php-version
- sanity-tests
Expand Down

0 comments on commit 72dab03

Please sign in to comment.