Update plugin com.github.johnrengelman.shadow to v8 #223
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
name: Test Stracciatella | |
on: | |
push: | |
branches-ignore: | |
- "main" # Uses its own tests in build-and-release.yml | |
paths: | |
- "src/**" | |
- "build.gradle" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "src/**" | |
- "build.gradle" | |
jobs: | |
test: | |
name: "Build and Test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build Stracciatella | |
run: './gradlew clean classes testClasses' | |
- name: Run Tests | |
run: './gradlew test' |