Avoid pitest runs on test classes #235
Workflow file for this run
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
# SPDX-FileCopyrightText: 2023 Lennart Heimbs <lennart@heimbs.me> | |
# | |
# SPDX-License-Identifier: MIT | |
--- | |
name: Build and Test Partner Plugin | |
on: pull_request | |
jobs: | |
partner-build-and-test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build with Gradle | |
run: ./gradlew build --no-daemon | |
working-directory: "pitmutationmate-override-plugin" | |
- name: Run Tests | |
run: ./gradlew test --no-daemon | |
working-directory: "pitmutationmate-override-plugin" |