Skip to content

Version 8

Version 8 #53

Workflow file for this run

name: PR's
on:
pull_request:
types: [opened, synchronize, reopened]
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
jobs:
pr-test:
uses: ./.github/workflows/basic-test.yml
pr-e2e-test:
uses: ./.github/workflows/e2e-test.yml
pr-plugin-integration-test:
uses: ./.github/workflows/integration-test-plugins.yml
check-commit-lint:
name: Check commit message follows guidelines
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Execute commitlint
run: npx commitlint --from=origin/${{ github.base_ref }}
check-file-format:
name: Check files changes follow guidelines
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Check if Prettier was run
run: npx pretty-quick --check
automated-manual-test:
uses: ./.github/workflows/integration-test.yml
pr-analysis:
name: SonarCloud Pr Analysis
runs-on: ubuntu-latest
needs: pr-test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# Download reports
- uses: ./.github/actions/download-coverage-report
- uses: ./.github/actions/download-lint-report
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONARQUBE_SCANNER }}
with:
args: >
-Dsonar.pullrequest.key=${{ github.env.PR_NUMBER }}