Skip to content

Commit 2d4e3c5

Browse files
PLAT-10245: Support CircleCI build for master branch (#95)
In the 2.0 branch we introduced CircleCI and PR builders, just to make it work with the master branch, here we add a simple build file just running the tests (the bare minimum, the 2.0 branch supports Snyk, test coverage and reports). 3.6 cannot be used because we use unittest.async_case. Caching with pyenv was not working (dependencies problem) so it is not implemented (we do not expect a lot of executions).
1 parent 628cbf3 commit 2d4e3c5

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.circleci/config.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2.1
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: cimg/python:3.9
7+
steps:
8+
- checkout
9+
10+
- run:
11+
name: Install Python dependencies
12+
command: pip3 install -e .
13+
14+
- run:
15+
name: Build
16+
command: python3 setup.py test

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def readme():
3636
],
3737
tests_require=['pytest'],
3838
include_package_data=True,
39-
classifiers=(
39+
classifiers=[
4040
"Programming Language :: Python :: 3.6",
4141
"License :: OSI Approved :: MIT License",
4242
"Operating System :: OS Independent",
43-
),
43+
],
4444
)

0 commit comments

Comments
 (0)