TNO Intern

Commit f0099471 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

Changing the gitlab-ci.yml so that the version number and the changelog has to...

Changing the gitlab-ci.yml so that the version number and the changelog has to be updated before merging to main
parent 4bb9e4a6
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
stages:
  - test
  - validate
  - deploy_documentation
  - changelog-version
  - deploy-documentation

Run tests:
  stage: test
@@ -24,8 +24,8 @@ Run tests:
    - main
    - merge_requests

check_version_and_changelog:
  stage: validate
changelog-version:
  stage: changelog-version
  image: alpine:latest
  script:
    # Fail if version file was not changed
@@ -53,8 +53,8 @@ check_version_and_changelog:
        exit 1
      fi

pages:
  stage: deploy_documentation
deploy-documentation:
  stage:  deploy-documentation
  image: python:latest
  script:
    - pip install mkdocs mkdocs-material mkdocstrings-python