forked from spekframework/spek
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (56 loc) · 1.67 KB
/
check-pr-core.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Check PR - spek2
on:
pull_request:
paths:
- 'spek-dsl/**'
- 'spek-runtime/**'
- 'spek-runner-junit5/**'
- 'integration-test/**'
- 'build.gradle.kts'
- 'buildSrc/build.gradle.kts'
- 'gradle.properties'
- '.github/workflows/check-pr-core.yaml'
jobs:
integration_tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
task: spekLinuxTest spekJvmTest
- os: macos-latest
task: spekMacosTest spekJvmTest
- os: windows-latest
task: spekWindowsTest spekJvmTest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1000
- run: git fetch --depth=1000 origin +refs/tags/*:refs/tags/*
- name: Checkout submodules
uses: snickerbockers/submodules-init@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
with:
build-root-directory: integration-test
arguments: ${{ matrix.task }} -PexcludeIdePlugins -i
runner_junit5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1000
- run: git fetch --depth=1000 origin +refs/tags/*:refs/tags/*
- name: Checkout submodules
uses: snickerbockers/submodules-init@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
with:
arguments: spek-runner-junit5:check -PexcludeIdePlugins