Skip to content

Commit 6ddc48a

Browse files
Create .razorops.yaml
1 parent f53f6ec commit 6ddc48a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.razorops.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
tasks:
2+
build-deps:
3+
#runner: razorci/python:3.9
4+
#runner: razorci/openjdk
5+
steps:
6+
- checkout
7+
- commands:
8+
- run: pip install pytest
9+
- run: pip freeze --local > api/requirements.txt
10+
- run: pip install pytest-cov
11+
- run: pytest --cov app/ --cov-report=xml:test-coverage.xml
12+
- codecov/upload
13+
- run: |
14+
curl -Os https://uploader.codecov.io/latest/linux/codecov
15+
chmod +x codecov
16+
./codecov -t ${CODECOV_TOKEN}

0 commit comments

Comments
 (0)