FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5cef4a38 authored by Robin Goodall's avatar Robin Goodall :speech_balloon:
Browse files

Merge branch 'spec-up-to-date-ci' into 'main'

Add CI test job to check specs are up to date

Closes #14

See merge request !25
parents 209523bd 9a14f95a
No related branches found
No related tags found
1 merge request!25Add CI test job to check specs are up to date
Pipeline #239235 waiting for manual action
......@@ -31,3 +31,17 @@ pypi-release:
needs: ["build"]
variables:
DIST_LOCATION: "/dist"
latest-spec:
image: python:3.10
stage: test
script:
- pip install -r ./scripts/requirements.txt
- ./pull-specs.sh --token ${GITLAB_PULL_SPECS_TOKEN}
- git diff --exit-code
rules:
# Don't create a detached job on a merge request - a separate pipeline
# should be created for a branch which is where we expect this to be run
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment