Skip to content

Merge pull request #13 from GTModpackTeam/add-wizardry #36

Merge pull request #13 from GTModpackTeam/add-wizardry

Merge pull request #13 from GTModpackTeam/add-wizardry #36

Workflow file for this run

# Runs tests
name: Java Tests
on:
push:
branches:
- master
pull_request:
branches:
- '*'
concurrency:
group: test-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Apply patch to settings.gradle
run: |
if [ -f settings.gradle.patch ]; then
patch -p0 < settings.gradle.patch
fi
- name: Apply patch to build.gradle
run: sed -i 's/debug_all = false/debug_all = true/g' gradle.properties
- name: Setup Build
uses: ./.github/actions/build_setup
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Tests with Gradle
run: ./gradlew --info --scan test