Skip to content

Commit

Permalink
Added proper run command
Browse files Browse the repository at this point in the history
  • Loading branch information
simasch committed Jul 7, 2023
1 parent 81979fd commit 8533357
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 15 deletions.
44 changes: 30 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@ jobs:
DB_USER: app
DB_PASS: app

strategy:
fail-fast: false
matrix:
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" ]
utplsql_file: [ "utPLSQL" ]
jdk: [ '8' ]
include:
- utplsql_version: "v3.0.0"
jdk: '8'
utplsql_file: "utPLSQLv3.0.0"
- utplsql_version: "develop"
jdk: '9'
utplsql_file: "utPLSQL"
- utplsql_version: "develop"
jdk: '10'
utplsql_file: "utPLSQL"
- utplsql_version: "develop"
jdk: '11'
utplsql_file: "utPLSQL"
- utplsql_version: "develop"
jdk: '12'
utplsql_file: "utPLSQL"
- utplsql_version: "develop"
jdk: '13'
utplsql_file: "utPLSQL"
services:
oracle:
image: gvenzl/oracle-xe:18.4.0-slim
Expand All @@ -44,26 +69,17 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: ${{matrix.jdk}}

- name: Install utplsql
run: sh ${{ github.workspace }}/scripts/install_utplsql.sh

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

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Maven unit and integration tests with sonar
run: mvn clean verify

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# IntelliJ
*.iml

.idea/*
.idea
!/.idea/codeStyles
!/.idea/dictionaries

Expand Down

0 comments on commit 8533357

Please sign in to comment.