/
config.yml
68 lines (67 loc) · 1.78 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
version: 2
jobs:
build:
working_directory: /var/code/bezier/
docker:
- image: dhermes/bezier:latest
environment:
MATPLOTLIBRC: tests
steps:
- checkout
- run:
name: Check that all Cython generated files have been updated
command: nox -s "update_generated(check=True)"
- run:
name: Unit tests in Python 3.6
command: nox -s "unit-3.6"
- run:
name: Unit tests in Python 3.7
command: nox -s "unit-3.7"
- run:
name: Unit tests in pypy3
command: nox -s "unit-pypy3"
- run:
name: Unit tests AND line coverage in Python 3.8
command: nox -s cover
- run:
name: Fortran unit tests
command: nox -s fortran_unit
- run:
name: Functional tests in Python 3.8
command: nox -s "functional-3.8"
- run:
name: Run all doctests
command: nox -s doctest
- run:
name: Build docs
command: nox -s docs
- run:
name: Lint code for style issues
command: nox -s lint
- run:
name: Check that test case examples are valid for JSON schema
command: nox -s validate_functional_test_cases
- run:
name: Check the journaled `build_ext` commands
command: nox -s "check_journal(machine='circleci')"
- deploy:
name: Upload coverage to coveralls
command: |
.nox/cover/bin/python -m pip install coveralls
.nox/cover/bin/coveralls
workflows:
version: 2
push:
jobs:
- build
monthly:
triggers:
- schedule:
cron: "0 0 1 * *"
filters:
branches:
only:
- master
jobs:
- build