We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d4a0c9a + edd74f7 commit 5d3bf2bCopy full SHA for 5d3bf2b
2 files changed
.circleci/config.yml
@@ -0,0 +1,40 @@
1
+version: 2.1
2
+
3
+orbs:
4
+ python: circleci/python@1.2
5
6
+jobs:
7
+ build-and-test:
8
+ docker:
9
+ - image: cimg/python:3.9
10
+ steps:
11
+ - checkout
12
+ - python/install-packages:
13
+ pkg-manager: pip
14
+ - run:
15
+ name: Run tests
16
+ command: pytest -m "not compiled" --cov=pythonwhat
17
+ publish:
18
19
20
21
22
23
+ command: |
24
+ python setup.py sdist bdist_wheel
25
+ pip install pipenv
26
+ pipenv install twine
27
+ pipenv run twine upload --verbose --repository pypi dist/*
28
29
+workflows:
30
+ build:
31
+ jobs:
32
+ - build-and-test
33
+ - publish:
34
+ requires:
35
36
+ filters:
37
+ tags:
38
+ only: /^.*#v\d+\.\d+\.\d+(-rc\.\d+)?$/
39
+ branches:
40
+ ignore: /.*/
.travis.yml
0 commit comments