Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8533357

Browse files
committed
Added proper run command
1 parent 81979fd commit 8533357

File tree

2 files changed

+31
-15
lines changed

2 files changed

+31
-15
lines changed

.github/workflows/build.yml

+30-14
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,31 @@ jobs:
2525
DB_USER: app
2626
DB_PASS: app
2727

28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
utplsql_version: [ "v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.1.1","v3.1.2","v3.1.3","v3.1.6","v3.1.7","v3.1.8","v3.1.9","v3.1.10","v3.1.11","develop" ]
32+
utplsql_file: [ "utPLSQL" ]
33+
jdk: [ '8' ]
34+
include:
35+
- utplsql_version: "v3.0.0"
36+
jdk: '8'
37+
utplsql_file: "utPLSQLv3.0.0"
38+
- utplsql_version: "develop"
39+
jdk: '9'
40+
utplsql_file: "utPLSQL"
41+
- utplsql_version: "develop"
42+
jdk: '10'
43+
utplsql_file: "utPLSQL"
44+
- utplsql_version: "develop"
45+
jdk: '11'
46+
utplsql_file: "utPLSQL"
47+
- utplsql_version: "develop"
48+
jdk: '12'
49+
utplsql_file: "utPLSQL"
50+
- utplsql_version: "develop"
51+
jdk: '13'
52+
utplsql_file: "utPLSQL"
2853
services:
2954
oracle:
3055
image: gvenzl/oracle-xe:18.4.0-slim
@@ -44,26 +69,17 @@ jobs:
4469
with:
4570
fetch-depth: 0
4671

72+
- uses: actions/setup-java@v2
73+
with:
74+
distribution: 'temurin'
75+
java-version: ${{matrix.jdk}}
76+
4777
- name: Install utplsql
4878
run: sh ${{ github.workspace }}/scripts/install_utplsql.sh
4979

5080
- name: Install demo project
5181
run: sh ${{ github.workspace }}/scripts/install_demo_project.sh
5282

53-
- name: Set up JDK 11
54-
uses: actions/setup-java@v2
55-
with:
56-
java-version: '11'
57-
distribution: 'adopt'
58-
59-
- name: Cache local Maven repository
60-
uses: actions/cache@v2
61-
with:
62-
path: ~/.m2/repository
63-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
64-
restore-keys: |
65-
${{ runner.os }}-maven-
66-
6783
- name: Maven unit and integration tests with sonar
6884
run: mvn clean verify
6985

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# IntelliJ
22
*.iml
33

4-
.idea/*
4+
.idea
55
!/.idea/codeStyles
66
!/.idea/dictionaries
77

0 commit comments

Comments
 (0)