Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 228ad5f

Browse files
authored
Add circle config (#3)
1 parent 6af37e4 commit 228ad5f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2.1
2+
jobs:
3+
build:
4+
working_directory: ~/wayscript-python
5+
steps:
6+
- checkout
7+
- run: sudo chown -R circleci:circleci /usr/local/bin
8+
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages
9+
- run:
10+
command: |
11+
sudo pip install pipenv
12+
pipenv install
13+
- run:
14+
command: |
15+
pipenv run python -m unittest discover
16+
- store_test_results:
17+
path: test-results
18+
- store_artifacts:
19+
path: test-results
20+
destination: tr1

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ ENV/
6666

6767
# PyCharm
6868
.idea
69+
70+
*/__pycache__/

0 commit comments

Comments
 (0)