Files
archived-doctrine-website/.github/workflows/continuous-integration.yml
dependabot[bot] 387fbb7418 Bump ramsey/composer-install from 3 to 4
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 3 to 4.
- [Release notes](https://github.com/ramsey/composer-install/releases)
- [Commits](https://github.com/ramsey/composer-install/compare/v3...v4)

---
updated-dependencies:
- dependency-name: ramsey/composer-install
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 23:22:38 +00:00

51 lines
1.2 KiB
YAML

name: "Continuous Integration"
on: ["push", "pull_request"]
env:
doctrine_website_github_http_token: "${{ github.token }}"
PHP_VERSION: "8.5"
doctrine_website_algolia_admin_api_key: "no-key-needed"
jobs:
tests:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v6"
- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ env.PHP_VERSION }}"
coverage: "none"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v4"
with:
composer-options: "--prefer-dist --no-progress --no-suggest"
- name: "Installation of node"
uses: "actions/setup-node@v6"
with:
node-version: '22'
- name: "yarn install"
run: "yarn install"
- name: "Setup PHP Action"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ env.PHP_VERSION }}"
coverage: "pcov"
- name: "Build website"
run: "./bin/console --env=test build"
- name: "Run PHP tests with coverage"
run: "./vendor/bin/phpunit --coverage-clover clover.xml"
- name: "Deliver code coverage"
run: "bash <(curl -s https://codecov.io/bash)"