-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
circle.yml
36 lines (34 loc) · 794 Bytes
/
circle.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
version: 2
jobs:
lint:
docker:
- image: circleci/python:3.9-buster
steps:
- checkout
- run: pip install flake8
- run: pip install mypy
- run: pip install requests
- run: pip install types-mock
- run: pip install types-requests
- run: flake8 bin/chroma-feedback chroma_feedback tests
- run: mypy bin/chroma-feedback chroma_feedback tests
test:
docker:
- image: circleci/python:3.9-buster
steps:
- checkout
- run: sudo apt-get install libegl1
- run: sudo apt-get install libxkbcommon0
- run: sudo apt-get install libdbus-1-3
- run: pip install mock
- run: pip install pyqt6
- run: pip install pytest
- run: pip install pytest-mock
- run: pip install requests
- run: pytest tests
workflows:
version: 2
lint-and-test:
jobs:
- lint
- test