-
Notifications
You must be signed in to change notification settings - Fork 76
/
config.yml
44 lines (41 loc) · 1.02 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
version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.1.1
jobs:
test_js:
docker:
- image: cimg/node:15.3.0-browsers
environment:
MOZ_HEADLESS: 1
steps:
- browser-tools/install-firefox:
version: 86.0.1
- checkout
- run: make -C fathom lint test
# Upload new coveralls stats only on master, which is the only place
# COVERALLS_REPO_TOKEN is defined:
- run: |
if [ ! -z "$COVERALLS_REPO_TOKEN" ]
then
make -C fathom coveralls
fi
test_python:
docker:
- image: cimg/python:3.7.9-node
steps:
- checkout
- run: make -C cli lint test
- run: make docs
# Upload new docs only on master, which is the only place GH_TOKEN is
# defined. This saves time over doing it in a separate job.
- run: |
if [ ! -z "$GH_TOKEN" ]
then
docs/deploy-docs
fi
workflows:
version: 2
js_python_and_docs:
jobs:
- test_js
- test_python