Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Verify Pull Request

on:
pull_request:
branches:
- main

jobs:
verify:
name: Verify PR Changes
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v5

- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: "temurin"
java-version: "21"
cache: gradle

- name: Grant execute permissions for Gradle
run: chmod +x gradlew

- name: Run Ktlint check
run: ./gradlew ktlintCheck --no-daemon

- name: Run tests
run: ./gradlew test --no-daemon

- name: Assemble project
run: ./gradlew clean assemble --no-daemon
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ out/

### Kotlin ###
.kotlin

### Databases ###
eventshuffle.db
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest
class EventshuffleApplicationTests {

@Test
fun contextLoads() {
}

@Test
fun contextLoads() {}
}