File tree 2 files changed +48
-1
lines changed
2 files changed +48
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # Python CircleCI 2.0 configuration file
3
+ #
4
+ # Check https://circleci.com/docs/2.0/language-python/ for more details
5
+ #
6
+ version : 2
7
+ jobs :
8
+ build :
9
+ docker :
10
+ - image : circleci/python:3.6.1
11
+ - image : redislabs/redisearch:latest
12
+
13
+ working_directory : ~/repo
14
+
15
+ steps :
16
+ - checkout
17
+
18
+ # Download and cache dependencies
19
+ - restore_cache :
20
+ keys :
21
+ - v1-dependencies-{{ checksum "requirements.txt" }}
22
+ # fallback to using the latest cache if no exact match is found
23
+ - v1-dependencies-
24
+
25
+ - run :
26
+ name : install dependencies
27
+ command : |
28
+ python3 -m venv venv
29
+ . venv/bin/activate
30
+ pip install -r requirements.txt
31
+
32
+ - save_cache :
33
+ paths :
34
+ - ./venv
35
+ key : v1-dependencies-{{ checksum "requirements.txt" }}
36
+
37
+ - run :
38
+ name : run tests
39
+ command : |
40
+ . venv/bin/activate
41
+ python manage.py test
42
+
43
+ - store_artifacts :
44
+ path : test-reports
45
+ destination : test-reports
46
+
Original file line number Diff line number Diff line change 8
8
! ** /* .py
9
9
! ** /* .csv
10
10
! ** /* .md
11
- ! .cirecleci /config.yml
11
+ ! .circleci /config.yml
12
+
You can’t perform that action at this time.
0 commit comments