ci: simplify 'test actionsmap' job, move it to linting

This commit is contained in:
Alexandre Aubin 2023-11-28 23:58:50 +01:00
parent a0d6c9a032
commit 35c809a726
3 changed files with 8 additions and 13 deletions

View file

@ -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"

View file

@ -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:

View file

@ -1,5 +0,0 @@
import yaml
def test_yaml_syntax():
yaml.safe_load(open("share/actionsmap.yml"))