]>
Commit | Line | Data |
---|---|---|
06495c6b SH |
1 | name: CI |
2 | ||
3 | on: | |
4 | - push | |
5 | - pull_request | |
6 | ||
7 | jobs: | |
8 | ||
9 | build: | |
10 | ||
11 | strategy: | |
12 | matrix: | |
13 | python-version: | |
14 | - "3.7" | |
15 | - "3.8" | |
16 | - "3.9" | |
001244e9 | 17 | - "3.10" |
06495c6b SH |
18 | |
19 | name: Python ${{ matrix.python-version }} | |
47e6d0f1 | 20 | runs-on: ubuntu-22.04 |
06495c6b SH |
21 | |
22 | steps: | |
23 | ||
24 | - uses: actions/checkout@v2 | |
25 | ||
26 | - name: Set up Python ${{ matrix.python-version }} | |
27 | uses: actions/setup-python@v2 | |
28 | with: | |
29 | python-version: ${{ matrix.python-version }} | |
30 | ||
31 | - name: Install dependencies | |
32 | run: | | |
33 | pip install -r requirements.txt | |
34 | pip install bandit flake8 pylint | |
35 | ||
36 | - name: Lint with flake8 | |
37 | run: make flake8 | |
38 | ||
39 | # - name: Lint with pylint | |
40 | # run: make pylint | |
41 | ||
42 | - name: Lint with bandit | |
43 | run: make bandit |