diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c86dcc84e1d13017cf1b6c0bcc18fbbbe689bec3..d57d098c9405545b6a5a8c22e264a69c83c8c5ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,28 +18,27 @@ after_script: - echo "After script section" - echo "For example you might do some cleanup here" +image: ubuntu:22.04 + build1: stage: build script: - echo "Do your build here" -warningtest: - stage: test -# tags: -# - deployer - script: - - echo "checking for warnings in the html validation" - - ls - - sh warning-test.sh - -errortest: +validate_test: stage: test # tags: # - deployer script: - - echo "checking for errors in the html validation" + - apt install htmlval -y + - echo "Create Validation output" + - htmlval *.html > validate_output.txt + - echo "checking for errors and warnings in the html validation" - ls - - sh error-test.sh + - sh validate-test.sh + artifacts: + paths: + - validate_output.txt deploy1: stage: deploy