19
19
unitAndFunctionalTests :
20
20
if : github.repository == 'eiffel-community/eiffel-intelligence-frontend'
21
21
# The type of runner that the job will run on
22
+
22
23
runs-on : ubuntu-latest
23
24
env :
24
25
EI_BACKEND_PORT : 8099
@@ -29,13 +30,11 @@ jobs:
29
30
steps :
30
31
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31
32
- uses : actions/checkout@v3
33
+
32
34
- uses : actions/setup-java@v3
33
35
with :
34
36
distribution : ' temurin'
35
37
java-version : ' 17'
36
-
37
- # Runs a set of commands using the runners shell
38
- # Run before every job
39
38
40
39
- name : Install Maven
41
40
shell : bash
52
51
integrationTests :
53
52
if : github.repository == 'eiffel-community/eiffel-intelligence-frontend'
54
53
# The type of runner that the job will run on
54
+
55
55
runs-on : ubuntu-latest
56
56
env :
57
57
EI_BACKEND_PORT : 8099
@@ -62,10 +62,23 @@ jobs:
62
62
steps :
63
63
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
64
64
- uses : actions/checkout@v3
65
+
65
66
- uses : actions/setup-java@v3
66
67
with :
67
68
distribution : ' temurin'
68
69
java-version : ' 17'
70
+
71
+
72
+ # Runs a set of commands using the runners shell
73
+ # Run before every job
74
+ - name : Install Java
75
+ run : |
76
+ sudo apt-get update
77
+ sudo apt-get install -y openjdk-8-jdk
78
+ java -version
79
+ uname -a
80
+ chmod +x pom.xml
81
+ mvn --version
69
82
70
83
- name : Install Maven
71
84
shell : bash
@@ -105,6 +118,7 @@ jobs:
105
118
reportCoverage :
106
119
if : github.repository == 'eiffel-community/eiffel-intelligence-frontend' && github.event_name == 'push'
107
120
# The type of runner that the job will run on
121
+
108
122
runs-on : ubuntu-latest
109
123
env :
110
124
EI_BACKEND_PORT : 8099
@@ -115,6 +129,7 @@ jobs:
115
129
steps :
116
130
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
117
131
- uses : actions/checkout@v3
132
+
118
133
- uses : actions/setup-java@v3
119
134
with :
120
135
distribution : ' temurin'
0 commit comments