Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
250 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
File renamed without changes.
Oops, something went wrong.