diff --git a/.gitea/workflows/sonarqube.yaml b/.gitea/workflows/sonarqube.yaml index 02f79b3..4a6d895 100644 --- a/.gitea/workflows/sonarqube.yaml +++ b/.gitea/workflows/sonarqube.yaml @@ -16,6 +16,15 @@ jobs: with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 + - name: Setup PHP with Xdebug + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + coverage: xdebug + - name: Install dependencies with composer + run: composer update --no-ansi --no-interaction --no-progress + - name: Run tests with phpunit/phpunit + run: vendor/bin/phpunit --coverage-clover=coverage.xml - name: SonarQube Scan uses: sonarsource/sonarqube-scan-action@master env: @@ -25,12 +34,3 @@ jobs: args: > -Dsonar.projectVersion=1.0.0 -Dsonar.projectKey=${{ secrets.SONARQUBE_PROJECT_KEY }} - - name: Setup PHP with Xdebug - uses: shivammathur/setup-php@v2 - with: - php-version: '8.2' - coverage: xdebug - - name: Install dependencies with composer - run: composer update --no-ansi --no-interaction --no-progress - - name: Run tests with phpunit/phpunit - run: vendor/bin/phpunit --coverage-clover=coverage.xml \ No newline at end of file diff --git a/composer.json b/composer.json index 3faf0da..dd54029 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "utahsdjs/utahsdjs2025", "description": "description", - "minimum-stability": "unstable", + "minimum-stability": "dev", "version": "0.0.1", "license": "proprietary", "authors": [