Skip to content

Commit cc75f85

Browse files
authored
Merge pull request #1197 from utPLSQL/feature/check_html_coverage_local
Run html validator as a local container on GithubActions
2 parents 25af9ed + 969f52e commit cc75f85

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/scripts/validate_report_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ XSD_DIR="${SCRIPT_DIR}/xsd"
77
XML_JAR_DIR="${SCRIPT_DIR}/lib"
88
#XML Validator
99
XML_VALIDATOR="$XML_JAR_DIR/xml_validator.jar"
10-
HTML_VALIDATOR_URL="https://validator.w3.org/nu/"
10+
HTML_VALIDATOR_URL="http://localhost:8888/"
1111

1212
HTML_FILENAME="coverage.html"
1313
declare -A XML_FILES

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ jobs:
6060
oracle-base: '/opt/oracle'
6161

6262
services:
63+
html_checker:
64+
image: ghcr.io/validator/validator:latest
65+
options: >-
66+
-p 8888:8888
6367
oracle:
6468
image: ${{matrix.oracle-version}}
6569
env:

0 commit comments

Comments
 (0)