-
-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (33 loc) · 756 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
39
40
41
42
43
name: ci
on:
push:
paths:
- "**.py"
- .github/workflows/ci.yml
jobs:
ci:
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.x"]
os: [ubuntu-latest]
include:
- python-version: "3.x"
os: windows-latest
- python-version: "3.x"
os: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install .[tests,lint]
- name: syntax check
run: flake8
- name: type annotation check
run: mypy
- run: pytest
timeout-minutes: 2
- run: python -m findssh
timeout-minutes: 1