Skip to content

Commit

Permalink
Merge pull request #291 from matchish/sonarcloud
Browse files Browse the repository at this point in the history
Add sonarcloud
  • Loading branch information
matchish authored Nov 14, 2024
2 parents 0eeb311 + 5b02b4f commit e52517c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,9 @@ jobs:
DB_USERNAME: root
ELASTICSEARCH_HOST: '127.0.0.1:9200'

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ It’s built on top of the latest release of [Laravel Scout](https://laravel.com
package. Using this package, you are free to take advantage of all of Laravel Scout’s
great features, and at the same time leverage the complete set of ElasticSearch’s search experience.

If you need any help, [stack overflow](https://stackoverflow.com/questions/tagged/laravel-scout%20laravel%20elasticsearch) is the preferred and recommended way to ask support questions.

## :two_hearts: Features
Don't forget to :star: the package if you like it. :pray:

Expand Down
4 changes: 4 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sonar.projectKey=matchish_laravel-scout-elasticsearch
sonar.organization=matchish

sonar.php.coverage.reportPaths=coverage.xml

0 comments on commit e52517c

Please sign in to comment.