-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(stryker): dedicated config for stryker in ci (#581)
- Loading branch information
1 parent
82d1f93
commit 307b9de
Showing
7 changed files
with
25,580 additions
and
25,379 deletions.
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
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
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,25 @@ | ||
const defaultConfig = require("./stryker.conf"); | ||
|
||
const reporters = ["progress-append-only"]; | ||
|
||
const dashboard = { | ||
project: "github.com/antoinezanardi/werewolves-assistant-api-next", | ||
baseUrl: "https://dashboard.stryker-mutator.io/api/reports", | ||
reportType: "full", | ||
}; | ||
const version = process.env.VERSION; | ||
|
||
if (process.env.STRYKER_DASHBOARD_API_KEY !== undefined) { | ||
reporters.push("dashboard"); | ||
} | ||
|
||
if (process.env.VERSION !== undefined) { | ||
dashboard.version = version; | ||
} | ||
|
||
module.exports = { | ||
...defaultConfig, | ||
dryRunTimeoutMinutes: 10, | ||
reporters, | ||
dashboard, | ||
}; |
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
Large diffs are not rendered by default.
Oops, something went wrong.