forked from GregTechCEu/GregTech
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 826 Bytes
/
test_java.yml
File metadata and controls
31 lines (25 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Runs tests
name: Java Tests
on:
push:
branches:
- master
paths: ['src/main/java/**', 'src/test/**', 'src/api/java/**', 'gradle/**', '**.gradle', 'gradle.properties',
'gradlew**', 'src/main/resources/*_at.cfg']
pull_request:
paths: ['src/main/java/**', 'src/test/**', 'src/api/java/**', 'gradle/**', '**.gradle', 'gradle.properties',
'gradlew**', 'src/main/resources/*_at.cfg']
concurrency:
group: tests-${{ 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: Setup Build
uses: ./.github/actions/build_setup
- name: Run Tests with Gradle
run: ./gradlew test --warning-mode all --build-cache