Debian Codegraph @

.circleci/config.yml

raw
1 version: 2
2 jobs:
3 build:
4 docker:
5 - image: circleci/python:3.6
6 working_directory: ~/dijitso-test
7 steps:
8 - checkout
9 - run:
10 name: Install dependencies # Install with sudo as tests not run as superuser in circleci/python
11 command: |
12 sudo apt-get update && sudo apt-get install python3-mpi4py
13 sudo pip install flake8 pytest numpy --upgrade
14 - run:
15 name: Install dijitso
16 command: pip install . --user
17 - run:
18 name: Run flake8 tests
19 command: python -m flake8 .
20 - run:
21 name: Run unit tests
22 command: python -m pytest ./test/