Debian Codegraph @

.circleci/config.yml

raw symbols SCIP
1 version: 2
2 jobs:
3 build:
4 docker:
5 - image: circleci/python:3.6
6 working_directory: ~/ffc-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 libboost-math-dev
13 sudo pip install cmake flake8 numpy pybind11 pytest six --upgrade
14 - run:
15 name: Install FEniCS dependencies
16 command: |
17 pip install git+https://github.com/FEniCS/fiat.git@master --user
18 pip install git+https://github.com/FEniCS/ufl.git@main --user
19 pip install git+https://bitbucket.org/fenics-project/dijitso.git@master --user
20 - run:
21 name: Install FFC
22 command: pip install -e . --user
23 - run:
24 name: Install pybind factory
25 command: pip install ./libs/ffc-factory/ --user
26 - run:
27 name: Run unit tests
28 command: |
29 python -m pytest -v ./test/unit
30 python -m pytest -v ./test/uflacs
31 - run:
32 name: Run regression tests
33 command: |
34 cd test/regression
35 python test.py