File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,26 @@ name: Python testing
33on : [push, pull_request]
44
55jobs :
6+ lint :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ - name : Set up Python
11+ uses : actions/setup-python@v6
12+ with :
13+ python-version : " 3.12"
14+ - name : Install dependencies
15+ run : |
16+ python -m pip install --upgrade pip
17+ pip install ".[dev]"
18+ - name : lint with ruff
19+ run : |
20+ ruff format tdclient --diff --exit-non-zero-on-fix
21+ ruff check tdclient
22+ - name : Run pyright
23+ run : |
24+ pyright tdclient
25+
626 test :
727 runs-on : ${{ matrix.os }}
828 strategy :
2343 pip install ".[dev]"
2444 pip install -r requirements.txt -r test-requirements.txt
2545 pip install -U coveralls pyyaml
26- - name : lint with ruff
27- run : |
28- ruff format tdclient --diff --exit-non-zero-on-fix
29- ruff check tdclient tests
30- - name : Run pyright
31- run : |
32- pyright tdclient
3346 - name : Run test
3447 run : |
3548 coverage run --source=tdclient -m pytest tdclient/test
You can’t perform that action at this time.
0 commit comments