Regression Test - Win Only #2
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
name: Regression Test - Win Only | |
on: | |
workflow_dispatch: | |
jobs: | |
# RUN WINDOWS TEST | |
test_windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout DrawingBotV3 | |
uses: actions/checkout@v3 | |
with: | |
repository: SonarSonic/DrawingBotV3 | |
path: DrawingBotV3-Free | |
ref: testing-overhaul | |
#SETUP JAVA 19 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
# ADD PERMISSION FOR GRADLE | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
# ADD GRADLE CACHING | |
- name: Setup Gradle Caching | |
uses: gradle/gradle-build-action@v2 | |
#Test Regresson | |
- name: Run Regression Test | |
run: ./gradlew regressionTest | |
#UPLOAD Regresson Test Results | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Windows-Tests | |
path: | | |
DrawingBotV3-Free/tests/* | |
tests/* | |
retention-days: 1 |