Skip to content

v3.1.3

v3.1.3 #215

Workflow file for this run

name: Symfony Rest API
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Elastic data folder rights
run: chmod 777 var/elasticsearch-data
- name: Build the docker images
run: make build-test
- name: Start the docker images
run: make start-test
- name: Check running containers
run: docker ps -a
- name: Wait for database connection
run: make wait-for-db
- name: Run migrations
run: make drop-migrate
- name: Generate keys
run: make generate-jwt-keys
- name: Create roles and groups
run: make create-roles-groups
- name: Create cron jobs
run: make migrate-cron-jobs
- name: Setup transports for Messenger component
run: make messenger-setup-transports
- name: Wait for Elastic connection
run: make wait-for-elastic
- name: Create or update Elastic index template
run: make elastic-create-or-update-template
- name: Show framework version and additional info, php & composer version
run: make info
- name: Run test suite
run: make phpunit
- name: Archive coverage data for Qodana
uses: actions/upload-artifact@v3
with:
name: php-coverage-data
path: reports/clover.xml
- name: Run coding standard
run: make ecs
- name: Run codeSniffer
run: make phpcs
- name: Run PHPStan
run: make phpstan
- name: Run PHPInsights
run: make phpinsights
- name: Run php mess detector
run: make phpmd
- name: Run php copy past detector
run: make phpcpd
- name: Stop the docker images
run: make stop-test
# Currently local Qodana report differ from CI Qodana report due to some issues https://youtrack.jetbrains.com/issue/QD-7379
# qodana:
# runs-on: ubuntu-20.04
# needs: build
# permissions:
# contents: write
# pull-requests: write
# checks: write
# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
# fetch-depth: 0 # a full history is required for pull request analysis
# php-version: '8.3'
# - name: 'Install dependencies'
# run: COMPOSER_MEMORY_LIMIT=-1 composer install
# - name: 'Download coverage data for Qodana'
# uses: actions/download-artifact@v3
# with:
# name: php-coverage-data
# path: .qodana/code-coverage
# - name: 'Qodana Scan'
# uses: JetBrains/qodana-action@v2023.2
# env:
# QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy