Update .gitea/workflows/sonarqube_scans.yml
Some checks failed
CI / build-test (push) Failing after 5m41s
Some checks failed
CI / build-test (push) Failing after 5m41s
This commit is contained in:
@@ -6,17 +6,15 @@ jobs:
|
||||
build-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
|
||||
- name: composer install --no-dev
|
||||
uses: php-actions/composer@v6
|
||||
with:
|
||||
command: install
|
||||
args: --no-dev
|
||||
php_version: "8.4"
|
||||
- run: echo "Composer dependencies have been installed"
|
||||
- run: vendor/bin/phpunit
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.4' # Specify your required PHP version
|
||||
|
||||
- name: Install Composer dependencies
|
||||
run: composer install -o
|
||||
|
||||
Reference in New Issue
Block a user