Skip to content

Commit

Permalink
Merge branch 'FeKozma:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Livila authored Feb 23, 2024
2 parents a31a76f + 3a74c09 commit da8adc6
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 2 deletions.
71 changes: 69 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches: []

jobs:
testing:
name: Running tests
testing-unix:
name: Running tests on Ubuntu

runs-on: ubuntu-latest

Expand All @@ -26,3 +26,70 @@ jobs:

- name: Run tests with Gradle Wrapper
run: ./gradlew test

- name: Archive reports for failed builds
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: reports
path: '**/build/reports/ubuntu'


testing-macos:
name: Running tests on Mac OS

runs-on: macos-latest

permissions:
contents: read # To fetch code (actions/checkout)

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Run tests with Gradle Wrapper
run: ./gradlew test

- name: Archive reports for failed builds
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: reports
path: '**/build/reports/macos'


testing-windows:
name: Running tests on Windows

runs-on: windows-latest

permissions:
contents: read # To fetch code (actions/checkout)

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Run tests with Gradle Wrapper
run: ./gradlew test

- name: Archive reports for failed builds
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: reports
path: '**/build/reports/windows'
3 changes: 3 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

org.gradle.daemon=true
org.gradle.parallel=true

0 comments on commit da8adc6

Please sign in to comment.