Skip to content
Merged

Dev #10

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions .github/workflows/php80.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/php81.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build PHP 8.1

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.1'

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.1'
coverage-file: 'php-8.1-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}



41 changes: 0 additions & 41 deletions .github/workflows/php81.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/php82.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build PHP 8.2

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.2'
phpunit-config: "tests/phpunit10.xml"

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.2'
coverage-file: 'php-8.2-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}



44 changes: 0 additions & 44 deletions .github/workflows/php82.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/php83.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build PHP 8.3

on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
env:
OPERATING_SYS: ubuntu-latest
PHP_VERSION: 8.3
jobs:

test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.3'
phpunit-config: 'tests/phpunit10.xml'


code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.3'
coverage-file: 'php-8.3-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

code-quality:
name: Code Quality
needs: test
uses: WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@main
with:
coverage-file: 'php-8.3-coverage.xml'
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

release-prod:
name: Prepare Production Release Branch / Publish Release
needs: [code-coverage, code-quality]
uses: WebFiori/workflows/.github/workflows/release-php.yaml@main
with:
branch: 'main'
65 changes: 0 additions & 65 deletions .github/workflows/php83.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/php84.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build PHP 8.4

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.4'
phpunit-config: "tests/phpunit10.xml"

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.4'
coverage-file: 'php-8.4-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}



61 changes: 0 additions & 61 deletions .github/workflows/php84.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ clover.xml
composer.lock
vendor/*
.idea/*
*.Identifier
Loading