File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 test :
1010 name : Run Tests
11- uses : WebFiori/workflows/.github/workflows/test-php.yaml@main
11+ uses : WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
1212 with :
1313 php-version : ' 8.1'
1414
1515 code-coverage :
1616 name : Coverage
1717 needs : test
18- uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
18+ uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
1919 with :
2020 php-version : ' 8.1'
2121 coverage-file : ' php-8.1-coverage.xml'
Original file line number Diff line number Diff line change 88jobs :
99 test :
1010 name : Run Tests
11- uses : WebFiori/workflows/.github/workflows/test-php.yaml@main
11+ uses : WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
1212 with :
1313 php-version : ' 8.2'
1414 phpunit-config : " tests/phpunit10.xml"
1515
1616 code-coverage :
1717 name : Coverage
1818 needs : test
19- uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
19+ uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
2020 with :
2121 php-version : ' 8.2'
2222 coverage-file : ' php-8.2-coverage.xml'
Original file line number Diff line number Diff line change 1212
1313 test :
1414 name : Run Tests
15- uses : WebFiori/workflows/.github/workflows/test-php.yaml@main
15+ uses : WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
1616 with :
1717 php-version : ' 8.3'
1818 phpunit-config : ' tests/phpunit10.xml'
2121 code-coverage :
2222 name : Coverage
2323 needs : test
24- uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
24+ uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
2525 with :
2626 php-version : ' 8.3'
2727 coverage-file : ' php-8.3-coverage.xml'
@@ -31,15 +31,13 @@ jobs:
3131 code-quality :
3232 name : Code Quality
3333 needs : test
34- uses : WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@main
35- with :
36- coverage-file : ' php-8.3-coverage.xml'
34+ uses : WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@v1.2.1
3735 secrets :
3836 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3937
4038 release-prod :
4139 name : Prepare Production Release Branch / Publish Release
4240 needs : [code-coverage, code-quality]
43- uses : WebFiori/workflows/.github/workflows/release-php.yaml@main
41+ uses : WebFiori/workflows/.github/workflows/release-php.yaml@v1.2.1
4442 with :
4543 branch : ' main'
Original file line number Diff line number Diff line change 88jobs :
99 test :
1010 name : Run Tests
11- uses : WebFiori/workflows/.github/workflows/test-php.yaml@main
11+ uses : WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
1212 with :
1313 php-version : ' 8.4'
1414 phpunit-config : " tests/phpunit10.xml"
1515
1616 code-coverage :
1717 name : Coverage
1818 needs : test
19- uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
19+ uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
2020 with :
2121 php-version : ' 8.4'
2222 coverage-file : ' php-8.4-coverage.xml'
Original file line number Diff line number Diff line change 1+ name : PHP 8.5
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main, dev ]
8+ env :
9+ OPERATING_SYS : ubuntu-latest
10+ PHP_VERSION : 8.5
11+ jobs :
12+
13+ test :
14+ name : Run Tests
15+ uses : WebFiori/workflows/.github/workflows/test-php.yaml@v1.2.1
16+ with :
17+ php-version : ' 8.5'
18+ phpunit-config : ' tests/phpunit10.xml'
19+
20+
21+ code-coverage :
22+ name : Coverage
23+ needs : test
24+ uses : WebFiori/workflows/.github/workflows/coverage-codecov.yaml@v1.2.1
25+ with :
26+ php-version : ' 8.5'
27+ coverage-file : ' php-8.5-coverage.xml'
28+ secrets :
29+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
30+
You can’t perform that action at this time.
0 commit comments