-
-
Notifications
You must be signed in to change notification settings - Fork 0
88 lines (85 loc) · 2.14 KB
/
functional-tests.yml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
name: Functional Tests
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
pull_request:
defaults:
run:
shell: sh
jobs:
setup-jolie:
name: Setup jolie
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: ["ubuntu", "windows", "macos"]
version: ["1.11.1", "1.11.0", "1.10.13", "1.10.0"]
include:
- version: "1.11.1"
java-version: "11"
- version: "1.11.0"
java-version: "11"
- version: "1.10.13"
java-version: "11"
- version: "1.10.0"
java-version: "8"
exclude:
- os: "windows"
version: "1.10.13"
- os: "windows"
version: "1.10.0"
- os: "macos"
version: "1.11.0"
- os: "macos"
version: "1.11.1"
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: zulu
- name: Setup Jolie
uses: ./
with:
version: ${{ matrix.version }}
- name: Print version
run: jolie --version
setup-jolie-alpine:
name: Setup jolie
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
include:
- image: "alpine"
version: "1.11.1"
java-version: "11"
- image: "alpine"
version: "1.11.0"
java-version: "11"
- image: "alpine"
version: "1.10.13"
java-version: "11"
- image: "alpine"
version: "1.10.0"
java-version: "8"
runs-on: ubuntu-latest
container:
image: adoptopenjdk/openjdk${{ matrix.java-version }}:${{ matrix.image }}-nightly-slim
steps:
- uses: actions/checkout@v3
- name: Install tools
run: |
apk update
apk add --update bash maven
- name: Setup Jolie
uses: ./
with:
version: ${{ matrix.version }}
- name: Print version
run: jolie --version