diff --git a/.gitlab/ci/lint.gitlab-ci.yml b/.gitlab/ci/lint.gitlab-ci.yml index 3696567b8..5a8351413 100644 --- a/.gitlab/ci/lint.gitlab-ci.yml +++ b/.gitlab/ci/lint.gitlab-ci.yml @@ -3,6 +3,14 @@ ######################################## # later we must fix lint and format-check jobs and remove "allow_failure" +actionsmap: + stage: lint + image: "before-install" + needs: [] + script: + - python -c 'import yaml; yaml.safe_load(open("share/actionsmap.yml"))' + - python -c 'import yaml; yaml.safe_load(open("share/actionsmap-portal.yml"))' + lint311: stage: lint image: "before-install" diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index e676b860e..72b067970 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -48,14 +48,6 @@ # reports: # junit: report.xml -test-actionmap: - extends: .test-stage - script: - - python3 -m pytest tests/test_actionmap.py -# only: -# changes: -# - share/actionsmap.yml - test-helpers: extends: .test-stage script: diff --git a/tests/test_actionmap.py b/tests/test_actionmap.py deleted file mode 100644 index e482bdfe1..000000000 --- a/tests/test_actionmap.py +++ /dev/null @@ -1,5 +0,0 @@ -import yaml - - -def test_yaml_syntax(): - yaml.safe_load(open("share/actionsmap.yml"))