Skip to content

Commit 2e7f2f5

Browse files
Create pipeline example-python
1 parent ce0de1a commit 2e7f2f5

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
pipeline:
2+
name: example-python
3+
identifier: examplepython
4+
projectIdentifier: default_project
5+
orgIdentifier: default
6+
tags: {}
7+
stages:
8+
- stage:
9+
name: Build
10+
identifier: Build
11+
type: CI
12+
spec:
13+
cloneCodebase: true
14+
execution:
15+
steps:
16+
- step:
17+
type: Run
18+
name: Install deps
19+
identifier: Install_Deps
20+
spec:
21+
shell: Sh
22+
command: pip install -r requirements.txt
23+
- step:
24+
type: Run
25+
name: Pytest
26+
identifier: Pytest
27+
spec:
28+
shell: Sh
29+
command: pytest --cov app
30+
platform:
31+
os: Linux
32+
arch: Amd64
33+
runtime:
34+
type: Cloud
35+
spec: {}
36+
properties:
37+
ci:
38+
codebase:
39+
connectorRef: account.Github_OAuth_1778001905690
40+
repoName: codecov/example-python
41+
build: <+input>

0 commit comments

Comments
 (0)