From 5ef98e89fe18a540e520a2ce1fc4860f6f7cb898 Mon Sep 17 00:00:00 2001 From: Carsten Otto Date: Tue, 16 Nov 2021 18:48:29 +0100 Subject: [PATCH] always run pitest in github job --- .github/workflows/gradle.yml | 2 +- .github/workflows/mutationtests.yml | 34 ----------------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 .github/workflows/mutationtests.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e518833b..92eab894 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -31,4 +31,4 @@ jobs: java-version: '17' distribution: 'adopt' - name: Build with Gradle - run: ./gradlew build + run: ./gradlew build pitest diff --git a/.github/workflows/mutationtests.yml b/.github/workflows/mutationtests.yml deleted file mode 100644 index 5f2508f1..00000000 --- a/.github/workflows/mutationtests.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Run mutation tests - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - mutationtests: - - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Configure cache - uses: actions/cache@v2 - env: - cache-name: mutationtests - with: - path: ~/.gradle/caches/build-cache* - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'adopt' - - name: Run mutation tests - run: ./gradlew pitest