Skip to content

Commit 99777b3

Browse files
authored
Merge pull request #47 from WebFiori/dev
Documentation Enhancements
2 parents bb589c2 + e54df77 commit 99777b3

File tree

14 files changed

+299
-299
lines changed

14 files changed

+299
-299
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/php80.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/php81.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build PHP 8.1
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
jobs:
9+
test:
10+
name: Run Tests
11+
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
12+
with:
13+
php-version: '8.1'
14+
15+
code-coverage:
16+
name: Coverage
17+
needs: test
18+
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
19+
with:
20+
php-version: '8.1'
21+
coverage-file: 'php-8.1-coverage.xml'
22+
secrets:
23+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
24+
25+
26+

.github/workflows/php81.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/php82.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build PHP 8.2
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
jobs:
9+
test:
10+
name: Run Tests
11+
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
12+
with:
13+
php-version: '8.2'
14+
phpunit-config: "tests/phpunit10.xml"
15+
16+
code-coverage:
17+
name: Coverage
18+
needs: test
19+
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
20+
with:
21+
php-version: '8.2'
22+
coverage-file: 'php-8.2-coverage.xml'
23+
secrets:
24+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
25+
26+
27+

.github/workflows/php82.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/php83.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build PHP 8.3
2+
3+
on:
4+
push:
5+
branches: [ main, dev ]
6+
pull_request:
7+
branches: [ main, dev ]
8+
env:
9+
OPERATING_SYS: ubuntu-latest
10+
PHP_VERSION: 8.3
11+
jobs:
12+
13+
test:
14+
name: Run Tests
15+
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
16+
with:
17+
php-version: '8.3'
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@main
25+
with:
26+
php-version: '8.3'
27+
coverage-file: 'php-8.3-coverage.xml'
28+
secrets:
29+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
30+
31+
code-quality:
32+
name: Code Quality
33+
needs: test
34+
uses: WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@main
35+
with:
36+
coverage-file: 'php-8.3-coverage.xml'
37+
secrets:
38+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
39+
40+
release-prod:
41+
name: Prepare Production Release Branch / Publish Release
42+
needs: [code-coverage, code-quality]
43+
uses: WebFiori/workflows/.github/workflows/release-php.yaml@main
44+
with:
45+
branch: 'main'

.github/workflows/php83.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/php84.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build PHP 8.4
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
jobs:
9+
test:
10+
name: Run Tests
11+
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
12+
with:
13+
php-version: '8.4'
14+
phpunit-config: "tests/phpunit10.xml"
15+
16+
code-coverage:
17+
name: Coverage
18+
needs: test
19+
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
20+
with:
21+
php-version: '8.4'
22+
coverage-file: 'php-8.4-coverage.xml'
23+
secrets:
24+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
25+
26+
27+

.github/workflows/php84.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)