-
Notifications
You must be signed in to change notification settings - Fork 21
38 lines (36 loc) · 973 Bytes
/
ci.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
name: tbot selftest CI
on:
push:
branches:
- master
- wip
pull_request:
jobs:
test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies, linters, doc-tools
run: |
python -m pip install --upgrade pip
pip install pytest mypy paramiko termcolor2 pyserial
- name: Run pre-commit hooks for all files
uses: pre-commit/[email protected]
with:
extra_args: --all-files --verbose
env:
SKIP: selftests
- name: Run tbot selftests
run: |
export COLUMNS=160
python -m pytest -v --color=yes selftest/
- name: Run tbot extended selftests
run: |
export CLICOLOR_FORCE=1
python -m tbot.main -vv selftest_tc