Skip to content

Commit 6893918

Browse files
committed
Add test kind
1 parent 8840ae0 commit 6893918

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

taskcluster/kinds/test/kind.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
loader: taskgraph.loader.transform:loader
2+
transforms:
3+
- taskgraph.transforms.run
4+
- taskgraph.transforms.task
5+
kind-dependencies:
6+
- docker-image
7+
tasks:
8+
bot-unit:
9+
description: Check python code with pytest
10+
worker-type: b-linux
11+
worker:
12+
docker-image: { in-tree: python }
13+
max-run-time: 3600
14+
run:
15+
using: run-task
16+
cwd: "{checkout}"
17+
command: >-
18+
cd bot &&
19+
pip3 install --disable-pip-version-check --no-cache-dir --quiet . &&
20+
pip3 install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt &&
21+
pytest -v

0 commit comments

Comments
 (0)