forked from sighupio/installer-on-premises
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.drone.yml
More file actions
21 lines (19 loc) · 647 Bytes
/
.drone.yml
File metadata and controls
21 lines (19 loc) · 647 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
kind: pipeline
name: test
platform:
os: linux
arch: amd64
steps:
- name: katalog
image: python:3
commands:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl
- curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/v1.0.10/kustomize_1.0.10_linux_amd64 -o /usr/local/bin/kustomize && chmod +x /usr/local/bin/kustomize && kustomize version
- pip install -rkatalog/tests/test-requirements.txt
- flake8 --ignore=E501 katalog/tests/test.py
- bash katalog/tests/pytest.sh
- rm -rf .pytest_cache katalog/tests/__pycache__
when:
event:
- push