-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
26 lines (26 loc) · 847 Bytes
/
check-junit-snapshots.yml
File metadata and controls
26 lines (26 loc) · 847 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
name: Build starters using JUnit SNAPSHOT
on:
push:
branches:
- main
- 'r5.*'
pull_request:
branches:
- '*'
schedule:
- cron: '0 6 * * *'
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: 'Set up JDK 21'
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
with:
java-version: 21
distribution: temurin
- name: 'JUnit 5 SNAPSHOT build: Gradle'
run: cd ${GITHUB_WORKSPACE}/junit5-jupiter-starter-gradle && ./gradlew test --console plain --build-file build-SNAPSHOT.gradle
- name: 'JUnit 5 SNAPSHOT build: Maven'
run: cd ${GITHUB_WORKSPACE}/junit5-jupiter-starter-maven && ./mvnw test --batch-mode --file pom-SNAPSHOT.xml