ci(gitea): re-render pipeline (prebuilt PHP CI image)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqpXh3hQMMaC74pTjFq4it
This commit is contained in:
@@ -16,6 +16,7 @@ jobs:
|
|||||||
lint-php:
|
lint-php:
|
||||||
name: PHP Lint (${{ matrix.php }})
|
name: PHP Lint (${{ matrix.php }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -29,6 +30,7 @@ jobs:
|
|||||||
phpcs:
|
phpcs:
|
||||||
name: PHPCS (WordPress standards)
|
name: PHPCS (WordPress standards)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -41,6 +43,7 @@ jobs:
|
|||||||
file-size:
|
file-size:
|
||||||
name: 300-line rule (includes)
|
name: 300-line rule (includes)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/ci-file-size@main
|
- uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/ci-file-size@main
|
||||||
@@ -50,6 +53,7 @@ jobs:
|
|||||||
phpunit:
|
phpunit:
|
||||||
name: PHPUnit - brain-monkey (PHP ${{ matrix.php }})
|
name: PHPUnit - brain-monkey (PHP ${{ matrix.php }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -64,12 +68,11 @@ jobs:
|
|||||||
check-constants:
|
check-constants:
|
||||||
name: Check PRAUTOBLOGGER_* constants
|
name: Check PRAUTOBLOGGER_* constants
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: shivammathur/setup-php@v2
|
- name: Use PHP 8.1 (preinstalled in the CI image)
|
||||||
with:
|
run: update-alternatives --set php /usr/bin/php8.1 && php -v | head -1
|
||||||
php-version: '8.1'
|
|
||||||
coverage: none
|
|
||||||
# Fails if any PRAUTOBLOGGER_* constant referenced in shipped PHP is neither
|
# Fails if any PRAUTOBLOGGER_* constant referenced in shipped PHP is neither
|
||||||
# defined in prautoblogger.php nor guarded by defined() (v0.19.0 incident class).
|
# defined in prautoblogger.php nor guarded by defined() (v0.19.0 incident class).
|
||||||
- run: php scripts/check-constants.php
|
- run: php scripts/check-constants.php
|
||||||
@@ -125,6 +128,7 @@ jobs:
|
|||||||
name: Audit - commit came from a PR
|
name: Audit - commit came from a PR
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/audit-direct-push@main
|
- uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/audit-direct-push@main
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user