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:
|
build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- name: Checkout repo
|
||||||
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
|
uses: actions/checkout@v5
|
||||||
- name: composer install --no-dev
|
|
||||||
uses: php-actions/composer@v6
|
- name: Setup PHP
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
command: install
|
php-version: '8.4' # Specify your required PHP version
|
||||||
args: --no-dev
|
|
||||||
php_version: "8.4"
|
- name: Install Composer dependencies
|
||||||
- run: echo "Composer dependencies have been installed"
|
run: composer install -o
|
||||||
- run: vendor/bin/phpunit
|
|
||||||
Reference in New Issue
Block a user