-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【DO NOT MERGE】SonarCloud連携テスト #7
Open
louvre2489
wants to merge
26
commits into
master
Choose a base branch
from
sonar_test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+40
−3
Open
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
c1e6645
SonarCloud連携テスト
louvre2489 6a40861
テストが通るようにした
louvre2489 c6d055b
カバレッジを取れるようにした
louvre2489 036f0fa
ややこしいゴミを削除
louvre2489 5dbaf37
SonarCloud動け!
louvre2489 e99e8a3
SonarCloud動け!
louvre2489 acaf480
SonarCloud動け!
louvre2489 8649f17
SonarCloud用のプロパティファイルを追加
louvre2489 dbf0d31
SonarCloud用のプロパティファイルを追加
louvre2489 d8ab2f9
sbt-sonar用の設定を追加
louvre2489 d82497e
ここから先は、sonar-scalaは無効にしてSonarCloudだけでカバレッジ取得を試みる
louvre2489 0f603ad
SonarCloud動け!
louvre2489 cd453d2
SonarCloud動け!
louvre2489 4bb80ae
CircleCI動け!
louvre2489 4fe172c
CircleCI動け!
louvre2489 fbed298
CircleCI動け!
louvre2489 696f49d
CircleCI動け!
louvre2489 8f3e96e
ゴミを整理
louvre2489 c0274b1
build.sbtのオプションを削除
louvre2489 0f84f7b
build.sbtのオプションを復活
louvre2489 d94e8af
masterとの差分がわかるように変更ファイルを整理する
louvre2489 4f73d4b
Merge branch 'master' into sonar_test
louvre2489 a0a95db
masterとの差分がわかるように変更ファイルを整理する
louvre2489 9a6f245
masterとの差分がわかるように変更ファイルを整理する
louvre2489 6b4912f
CircleCI動け!
louvre2489 5573e15
CircleCI動け!
louvre2489 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: chatwork/sbt-ci-openjdk8:jdk8u252-b09-1.3.10 | ||
steps: | ||
- checkout | ||
- run: | ||
name: "coverage" | ||
command: sbt -mem 2048 test coverage coverageReport | ||
- sonarcloud/scan | ||
|
||
orbs: | ||
sonarcloud: sonarsource/sonarcloud@1.0.1 | ||
|
||
workflows: | ||
main: | ||
jobs: | ||
- build: | ||
context: SonarCloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.4") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
sonar.host.url=https://sonarcloud.io | ||
sonar.organization=chatwork-sonar | ||
sonar.projectName=scala-quiz | ||
sonar.projectKey=chatwork_scala-quiz | ||
|
||
sonar.sourceEncoding=UTF-8 | ||
|
||
sonar.sources=src/main | ||
sonar.tests=src/test | ||
|
||
sonar.language=scala | ||
|
||
sonar.scala.scoverage.reportPath=\ | ||
target/scala-2.13/scoverage-report |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この2行は不要かもしれない...
sonarにテストを指示するためのプロパティですが、
CircleCIでsbtでテストをするようにしているので、このプロパティは使用されることがない気がしています