-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathconfig.yml
More file actions
56 lines (49 loc) · 1.25 KB
/
config.yml
File metadata and controls
56 lines (49 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 2.1
jobs:
run_tests:
docker:
- image: circleci/python:3.7.4
steps:
- checkout
- run:
name: Install Python dependencies
command: |
echo 'export PATH=~$PATH:~/.local/bin' >> $BASH_ENV && source $BASH_ENV
pip install --user -r requirements.txt
# - run:
# name: Run unit tests
# command: |
# pytest --junitxml=test-reports/junit.xml --html=test-reports/pytest_report.html --self-contained-html
# - store_test_results:
# path: test-reports
# - store_artifacts:
# path: test-reports
workflows:
build_test:
jobs:
- run_tests
# build2:
# docker:
# - image: circleci/python:3.8.4s
# steps:
# - checkout
# - run:
# name: Install Python dependencies
# command: |
# echo 'export PATH=~$PATH:~/.local/bin' >> $BASH_ENV && source $BASH_ENV
# pip install --user -r requirements.txt
# - run:
# name: Run unit tests
# command: |
# workflows:
# build_test:
# jobs:
# - run_tests
# workflows:
# version: 2
# my_workflow:
# jobs:
# -build
# -build2:
# requires:
# -build