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:
parent
8a6157e8b2
commit
7b3f253d07
1 changed files with 7 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue