We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d25d493 commit f4a67b8Copy full SHA for f4a67b8
.circleci/config.yml
@@ -1 +1,26 @@
1
-
+# Python CircleCI 2.0 configuration file
2
+version: 2
3
+jobs:
4
+ build:
5
+ docker:
6
+ - image: circleci/python:3.8
7
+
8
+ working_directory: ~/repo
9
10
+ steps:
11
+ # Step 1: obtain repo from GitHub
12
+ - checkout
13
+ # Step 2: create virtual env and install dependencies
14
+ - run:
15
+ name: install dependencies
16
+ command: |
17
+ python3 -m venv venv
18
+ . venv/bin/activate
19
+ pip install -r requirements.txt
20
+ # Step 3: run linter and tests
21
22
+ name: run tests
23
24
25
+ flake8 --exclude=venv* --statistics
26
+ pytest -v --cov=main
0 commit comments