-
Notifications
You must be signed in to change notification settings - Fork 16
67 lines (55 loc) · 1.47 KB
/
build.yml
File metadata and controls
67 lines (55 loc) · 1.47 KB
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
name: Build and test
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
build:
name: Test on JDK ${{ matrix.jdk }} with utPLSQL ${{ matrix.utplsql_version }}
runs-on: ubuntu-latest
env:
UTPLSQL_VERSION: ${{matrix.utplsql_version}}
UTPLSQL_FILE: ${{matrix.utplsql_file}}
DB_URL: "//localhost:1521/FREEPDB1"
DB_USER: APP
DB_PASS: pass
strategy:
fail-fast: false
matrix:
utplsql_version: ["v3.2.01","develop"]
utplsql_file: ["utPLSQL"]
jdk: ['17', '21', '25']
services:
oracle:
image: gvenzl/oracle-free:23-slim-faststart
env:
ORACLE_PASSWORD: oracle
DB_URL: "//localhost:1521/FREEPDB1"
ports:
- 1521:1521
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10
--name oracle
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{matrix.jdk}}
- name: Install utplsql
run: .github/scripts/install_utplsql.sh
- name: Install demo project
run: .github/scripts/install_demo_project.sh
- name: Build and Test
run: mvn verify appassembler:assemble