Skip to content

bump: Infra 1.11 (#212) #390

bump: Infra 1.11 (#212)

bump: Infra 1.11 (#212) #390

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- "main"
jobs:
MutationTest:
runs-on: ubuntu-latest
env:
PHP_VERSION: ${{ matrix.php }}
strategy:
matrix:
php: [ "8.2", "8.3" ]
dependencies: [ lowest, highest ]
steps:
-
uses: "actions/checkout@v3"
-
name: "Composer install: ${{ matrix.dependencies }}"
run: make composer/install-${{ matrix.dependencies }}
-
name: Tests with mutation
run: make test
CodeQualityAnalysis:
runs-on: ubuntu-latest
env:
PHP_VERSION: ${{ matrix.php }}
strategy:
matrix:
php: [ "8.2", "8.3" ]
dependencies: [ lowest, highest ]
steps:
-
uses: "actions/checkout@v3"
-
name: "Composer install: ${{ matrix.dependencies }}"
run: make composer/install-${{ matrix.dependencies }}
-
name: Run code quality analysis
run: make analyze
FunctionalSiteTest:
runs-on: ubuntu-latest
steps:
-
uses: "actions/checkout@v3"
-
name: Composer install
env:
PHP_VERSION: 8.2
run: make composer/install
-
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
-
name: Run build
working-directory: tests/functional/site
run: make self/build
-
name: Test build
working-directory: tests/functional/site
run: make self/test
-
name: Link Checker
uses: lycheeverse/[email protected]
with:
fail: true
args: --verbose --offline --base ./tests/functional/site/public "./tests/functional/site/public/*.html" "./tests/functional/site/public/**/*.html"
FunctionalInitTest:
runs-on: ubuntu-latest
steps:
-
uses: "actions/checkout@v3"
-
name: Composer install
env:
PHP_VERSION: 8.2
run: make composer/install
-
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
-
name: Run init
working-directory: tests/functional/init
run: make -f ../default.mk self/init
-
name: Run Infra init
working-directory: tests/functional/init
run: make -f ../default.mk init
-
name: Run build
working-directory: tests/functional/init
run: make self/build
-
name: Test build
working-directory: tests/functional/init
run: make self/test
-
name: Link Checker
uses: lycheeverse/[email protected]
with:
fail: true
args: --verbose --offline --base ./tests/functional/init/public "./tests/functional/init/public/*.html" "./tests/functional/init/public/**/*.html"