Feature/156 add scope to run config #26
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 Test and Verify | |
on: pull_request | |
jobs: | |
build-test-and-verify: | |
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 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Build with Gradle | |
run: ./gradlew build --no-daemon | |
working-directory: "pitmutationmate" | |
- name: Run Tests | |
run: ./gradlew test --no-daemon | |
working-directory: "pitmutationmate" | |
- name: Run Plugin Verification tasks | |
run: ./gradlew runPluginVerifier --no-daemon | |
working-directory: "pitmutationmate" |