Update .gitea/workflows/sonarqube_scans.yml
Some checks failed
CI / build-test (push) Failing after 1m40s
Some checks failed
CI / build-test (push) Failing after 1m40s
This commit is contained in:
@@ -1,24 +1,14 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
name: SonarQube Scan
|
||||
jobs:
|
||||
sonarqube:
|
||||
name: SonarQube Trigger
|
||||
build-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checking out
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: SonarQube Scan
|
||||
uses: https://code.caldwell.digital/tools/sonarqube-action@v0.0.3
|
||||
with:
|
||||
host: "https://qube.caldwell.digital"
|
||||
login: ${{ secrets.SONARQUBE_TOKEN }}
|
||||
projectName: "torsearch"
|
||||
projectBaseDir: "./src"
|
||||
- uses: actions/checkout@v3
|
||||
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
|
||||
- uses: php-actions/composer@v6
|
||||
- run: echo "Composer dependencies have been installed"
|
||||
- run: vendor/bin/phpunit
|
||||
|
||||
Reference in New Issue
Block a user