Skip to content

Commit

Permalink
Merge pull request #30 from jesperolsson-se/#29/stryker-dashboard
Browse files Browse the repository at this point in the history
#29/stryker dashboard
  • Loading branch information
jesperolsson-se authored Mar 16, 2023
2 parents 63b3f76 + 1dc1566 commit 1c945a8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ on:

jobs:
build:
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Build with Maven
run: mvn -B package --file pom.xml
22 changes: 16 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>

<dependencies>
Expand All @@ -38,12 +38,12 @@
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.5.2</version>
<version>1.9.11</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.13.0</version>
<version>3.20.0</version>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
Expand Down Expand Up @@ -102,11 +102,21 @@
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.5.2</version>
<version>1.9.11</version>
<dependencies>
<dependency>
<groupId>it.mulders.stryker</groupId>
<artifactId>pit-dashboard-reporter</artifactId>
<version>0.1.5</version>
</dependency>
</dependencies>
<configuration>
<mutationThreshold>100</mutationThreshold>
<coverageThreshold>100</coverageThreshold>
<excludedClasses>*.App</excludedClasses>
<outputFormats>
<format>stryker-dashboard</format>
</outputFormats>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -149,7 +159,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.13.0</version>
<version>3.20.0</version>
<configuration>
<linkXRef>false</linkXRef>
<printFailingErrors>true</printFailingErrors>
Expand Down

0 comments on commit 1c945a8

Please sign in to comment.