Skip to content

Commit

Permalink
[TASK] CI: Run more tasks in parallel (#349)
Browse files Browse the repository at this point in the history
To increase the CI speed, several tasks are now decoupled and thus run
in parallel.
  • Loading branch information
andreaskienast authored Jul 21, 2022
1 parent e38f068 commit 00d2537
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
php_coding_standards:
name: PHP Coding Standards
needs:
- php_rector
- php_lint
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
php_sniff:
name: PHP Code Sniffer
needs:
- php_rector
- php_lint
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:
php_copypaste_detector:
name: PHP Copy/Paste Detector
needs:
- php_rector
- php_lint
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -361,10 +361,7 @@ jobs:
php_stan:
name: PHP Stan
needs:
- validation
- php_coding_standards
- php_sniff
- php_copypaste_detector
- php_lint
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}

Expand Down Expand Up @@ -450,7 +447,7 @@ jobs:
tests:
name: Tests
needs:
- php_stan
- php_lint
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}

Expand Down Expand Up @@ -574,6 +571,14 @@ jobs:
deployment:
name: Deployment
needs:
- json_lint
- yaml_lint
- validation
- php_coding_standards
- php_sniff
- php_copypaste_detector
- php_stan
- php_rector
- coveralls-finish
if: ${{ github.event_name == 'push' }}
uses: ./.github/workflows/deployment.yml
Expand Down

0 comments on commit 00d2537

Please sign in to comment.