Skip to content

Bump cpina/github-action-push-to-another-repository from 1.3 to 1.7 #933

Bump cpina/github-action-push-to-another-repository from 1.3 to 1.7

Bump cpina/github-action-push-to-another-repository from 1.3 to 1.7 #933

name: "Continuous Integration"
on: ["push", "pull_request"]
env:
doctrine_website_github_http_token: "${{ github.token }}"
PHP_VERSION: "8.3"
doctrine_website_algolia_admin_api_key: "no-key-needed"
jobs:
tests:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- 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@v3"
with:
composer-options: "--prefer-dist --no-progress --no-suggest"
- name: "Installation of node"
uses: "actions/setup-node@v4"
with:
node-version: '20.5.1'
- 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-all"
- 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)"