1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

ci: use shared gitlab CI template (#257)

* ci: use shared gitlab CI template

* ci: bump python version
This commit is contained in:
Jonas L 2023-07-11 12:47:48 +02:00 committed by GitHub
parent 8a6157e8b2
commit 7b3f253d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,19 @@
include:
- project: cloud/integrations/ci
file:
- default.yml
- pre-commit.yml
stages:
- lint
- sanity
- integration
variables:
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.10"
default:
image: python:$PYTHON_VERSION
pre-commit:
stage: lint
image: python:3.11-alpine
before_script:
- apk add build-base git
- pip install pre-commit
script:
- pre-commit run --all-files --show-diff-on-failure
sanity:
stage: sanity
allow_failure: true