2019-04-17 23:32:03 +08:00
|
|
|
---
|
2024-07-01 18:25:36 +08:00
|
|
|
pre-commit:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- ffci
|
|
|
|
image: 'ghcr.io/pre-commit-ci/runner-image@sha256:aaf2c7b38b22286f2d381c11673bec571c28f61dd086d11b43a1c9444a813cef'
|
|
|
|
variables:
|
|
|
|
PRE_COMMIT_HOME: /pre-commit-cache
|
2024-05-22 21:53:06 +08:00
|
|
|
script:
|
2024-07-01 18:25:36 +08:00
|
|
|
- pre-commit run --all-files
|
|
|
|
cache:
|
|
|
|
key: pre-commit-all
|
2024-05-22 21:53:06 +08:00
|
|
|
paths:
|
2024-07-01 18:25:36 +08:00
|
|
|
- /pre-commit-cache
|
|
|
|
needs: []
|
2024-05-22 21:53:06 +08:00
|
|
|
|
2019-05-03 02:24:21 +08:00
|
|
|
vagrant-validate:
|
|
|
|
extends: .job
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: test
|
|
|
|
tags: [ffci]
|
2019-12-17 23:11:59 +08:00
|
|
|
variables:
|
2024-01-11 18:23:15 +08:00
|
|
|
VAGRANT_VERSION: 2.3.7
|
2019-05-03 02:24:21 +08:00
|
|
|
script:
|
2024-07-01 18:25:36 +08:00
|
|
|
- ./tests/scripts/vagrant-validate.sh
|
2019-05-03 02:24:21 +08:00
|
|
|
except: ['triggers', 'master']
|
|
|
|
|
2022-06-29 15:14:05 +08:00
|
|
|
|
2024-05-22 21:44:40 +08:00
|
|
|
# TODO: convert to pre-commit hook
|
2023-03-27 17:25:55 +08:00
|
|
|
check-galaxy-version:
|
2024-07-01 18:25:36 +08:00
|
|
|
needs: []
|
|
|
|
stage: test
|
|
|
|
tags: [ffci]
|
2023-03-27 17:25:55 +08:00
|
|
|
image: python:3
|
|
|
|
script:
|
2024-07-01 18:25:36 +08:00
|
|
|
- tests/scripts/check_galaxy_version.sh
|