Skip to content

feat: Add workflow to verify guides #2

feat: Add workflow to verify guides

feat: Add workflow to verify guides #2

Workflow file for this run

name: Verify Giudes
on:
workflow_dispatch: # Allow manual triggering of this workflow.
# START Temporary for testing.
pull_request:
branches: [main]
push:
branches: ["verify-guides-workflow-configuration"]
# END Temporary for testing.
defaults:
run:
# Specify to ensure "pipefail and errexit" are set.
# Ref: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunshell
shell: bash
jobs:
small:
runs-on: ubuntu-latest
container:
image: vespaengine/vespa-build-almalinux-8:latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
with:
vespa-cli-version: latest
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: build-site
run: |
bundle exec jekyll build
- name: check-queries
run: |
./test/test_queries.py _site
- name: run-tests
run: |
./test/test.py -c ./test/_test_config.yml -w $GITHUB_WORKSPACE