2018-09-08 15:43:07 +00:00
|
|
|
version: 2
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
docker:
|
2018-10-19 15:18:40 +00:00
|
|
|
- image: circleci/python:3.7
|
2018-09-08 15:43:07 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Install deps
|
2020-02-17 20:58:07 +00:00
|
|
|
command: sudo make dev-install
|
2018-09-09 23:09:11 +00:00
|
|
|
- run:
|
|
|
|
name: Linting
|
2020-02-17 20:58:07 +00:00
|
|
|
command: make format-check
|
2018-09-08 15:43:07 +00:00
|
|
|
- run:
|
|
|
|
name: Run tests
|
|
|
|
command: make test
|
2020-04-23 11:13:43 +00:00
|
|
|
- add_ssh_keys:
|
|
|
|
fingerprints:
|
|
|
|
- "d3:5f:9d:68:ea:12:9a:42:d3:d3:e1:db:b0:6a:fc:d2"
|
|
|
|
- run:
|
2020-04-23 19:48:55 +00:00
|
|
|
name: TEST - Create test branch on api-data and relative PR # TODO: move to the deploy phase TODO: rename
|
|
|
|
command: bash Resources/scripts/updater.sh
|
2018-09-08 15:43:07 +00:00
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
test:
|
|
|
|
jobs:
|
|
|
|
- test
|