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

Commit 6e4d32f

Browse files
committed
Merge branch 'master' of github.com:Paperspace/paperspace-python into Remove-old-unused-code-and-run-command
2 parents 7c0c32b + 4872f69 commit 6e4d32f

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

.circleci/config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 2.1
2+
3+
executors:
4+
python-tox:
5+
docker:
6+
- image: themattrix/tox-base:latest
7+
8+
jobs:
9+
test:
10+
executor: python-tox
11+
steps:
12+
- checkout
13+
- run:
14+
name: Install package requirements
15+
command: make pip-install-dev
16+
- run:
17+
name: Run tests
18+
command: make run-tests
19+
20+
workflows:
21+
version: 2.1
22+
pipeline:
23+
jobs:
24+
- test

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
PIP=pip3
2+
3+
14
clean-tests:
25
rm -rf .tox paperspace.egg-info
36

47
run-tests: clean-tests
58
tox
9+
10+
pip-update:
11+
$(PIP) install --upgrade pip
12+
$(PIP) install --upgrade setuptools
13+
14+
pip-install-dev: pip-update
15+
$(PIP) install --upgrade -e .[dev]

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,11 @@
5555
entry_points={'console_scripts': [
5656
'paperspace-python = paperspace:main',
5757
]},
58+
extras_require={
59+
"dev": [
60+
'tox',
61+
'pytest',
62+
'mock',
63+
],
64+
},
5865
)

0 commit comments

Comments
 (0)