Add htmltest github action

pull/1329/head
Richard van der Hoff 2 years ago
parent 4d0c912acf
commit 3e074ed6d3

@ -142,6 +142,28 @@ jobs:
name: spec-artifact name: spec-artifact
path: spec.tar.gz path: spec.tar.gz
htmlcheck:
name: "🔎 Validate generated HTML"
runs-on: ubuntu-latest
needs: [build-spec]
steps:
- name: "📥 Source checkout"
uses: actions/checkout@v2
- name: "📥 Fetch built spec"
uses: actions/download-artifact@v2
with:
name: spec-artifact
- name: "📝 Unpack the spec"
run: |
tar -xvzf spec.tar.gz
- name: "Run htmltest"
uses: wjdp/htmltest-action@master
with:
config: .htmltest.yaml
build-historical-spec: build-historical-spec:
name: "📖 Build the historical backup spec" name: "📖 Build the historical backup spec"
runs-on: ubuntu-latest runs-on: ubuntu-latest

@ -0,0 +1,6 @@
# config file for htmltest. This is used by one of the checks in Github
# Actions.
IgnoreDirectoryMissingTrailingSlash: true
DirectoryPath: spec
CheckExternal: false
Loading…
Cancel
Save