Skip to content

Commit 637a802

Browse files
committed
Update demo project
1 parent 4d86178 commit 637a802

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

Diff for: .github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
utplsql-version: [develop, v3.1.8, v3.1.11]
23+
utplsql-version: [develop, v3.1.8, v3.1.13]
2424

2525
services:
2626
oracle:
@@ -45,7 +45,7 @@ jobs:
4545
run: echo Installing ${UTPLSQL_VERSION} && sh ${{ github.workspace }}/scripts/1_install_utplsql.sh
4646

4747
- name: Install utPLSQL-cli
48-
run: curl -Lk -o utPLSQL-cli.zip "https://github.com/utPLSQL/utPLSQL-cli/releases/download/v3.1.8/utPLSQL-cli.zip" && unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli
48+
run: curl -Lk -o utPLSQL-cli.zip "https://github.com/utPLSQL/utPLSQL-cli/releases/download/3.1.9/utPLSQL-cli.zip" && unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli
4949

5050
- name: Install demo project
5151
run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh

Diff for: scripts/1_install_utplsql.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
git clone --depth=1 --branch=${UTPLSQL_VERSION} https://github.com/utPLSQL/utPLSQL.git utPLSQL
22
chmod -R go+w $(pwd)/utPLSQL/source
33
docker run --rm -v $(pwd)/utPLSQL:/utPLSQL -w /utPLSQL/source --network host \
4-
--entrypoint sqlplus gvenzl/oracle-xe:18-slim sys/oracle@//127.0.0.1:1521/XE as sysdba @install_headless.sql UT3 UT3 users
4+
--entrypoint sqlplus gvenzl/oracle-xe:21-slim sys/oracle@//127.0.0.1:1521/XE as sysdba @install_headless.sql UT3 UT3 users

Diff for: scripts/2_install_demo_project.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
docker run --rm -v $(pwd):/work -w /work/ --network host \
2-
--entrypoint sqlplus gvenzl/oracle-xe:18-slim \
2+
--entrypoint sqlplus gvenzl/oracle-xe:21-slim \
33
sys/oracle@//127.0.0.1:1521/XE as sysdba @source/create_user.sql
44

55
docker run --rm -v $(pwd):/work -w /work/ --network host \
6-
--entrypoint sqlplus gvenzl/oracle-xe:18-slim \
6+
--entrypoint sqlplus gvenzl/oracle-xe:21-slim \
77
ut3_demo/ut3_demo@//127.0.0.1:1521/XE @source/install.sql

Diff for: scripts/3_install_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker run --rm -v $(pwd):/work -w /work/ --network host \
2-
--entrypoint sqlplus gvenzl/oracle-xe:18-slim \
2+
--entrypoint sqlplus gvenzl/oracle-xe:21-slim \
33
ut3_demo/ut3_demo@//127.0.0.1:1521/XE @test/install.sql

Diff for: scripts/4_run_tests.sh

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
set -ev
44

5-
utPLSQL-cli/bin/utplsql run ut3_demo/ut3_demo@//127.0.0.1:1521/XE \
5+
utPLSQL-cli/bin/utplsql run ut3_demo/ut3_demo@//127.0.0.1:1521/XE?oracle.net.disableOob=true \
66
-source_path=source -regex_expression="(\w+)/(\w+)/(R__)(\w+)\.(\w+)\.(\w+)$" \
77
-owner_subexpression=4 \
88
-name_subexpression=5 \
99
-type_subexpression=6 \
1010
-test_path=test -regex_expression="(\w+)/(\w+)/(\w+)\.(\w+)\.(\w+)$" \
11-
-owner_subexpression=3 \
12-
-name_subexpression=4 \
11+
-owner_subexpression=1 \
1312
-type_subexpression=5 \
13+
-name_subexpression=4 \
1414
-f=ut_documentation_reporter -c \
15-
-f=ut_coverage_sonar_reporter -o=coverage.xml \
16-
-f=ut_sonar_test_reporter -o=test_results.xml \
17-
--failure-exit-code=0
18-
15+
-f=ut_coverage_sonar_reporter -o=coverage.xml \
16+
-f=ut_sonar_test_reporter -o=test_results.xml \
17+
-f=ut_coverage_cobertura_reporter -o=cobertura.xml \
18+
-f=ut_junit_reporter -o=junit_test_results.xml \
19+
--failure-exit-code=0

0 commit comments

Comments
 (0)