]> jfr.im git - irc/weechat/qweechat.git/blame - .github/workflows/ci.yml
Add GitHub actions CI workflow
[irc/weechat/qweechat.git] / .github / workflows / ci.yml
CommitLineData
06495c6b
SH
1name: CI
2
3on:
4 - push
5 - pull_request
6
7jobs:
8
9 build:
10
11 strategy:
12 matrix:
13 python-version:
14 - "3.7"
15 - "3.8"
16 - "3.9"
17
18 name: Python ${{ matrix.python-version }}
19 runs-on: ubuntu-20.04
20
21 steps:
22
23 - uses: actions/checkout@v2
24
25 - name: Set up Python ${{ matrix.python-version }}
26 uses: actions/setup-python@v2
27 with:
28 python-version: ${{ matrix.python-version }}
29
30 - name: Install dependencies
31 run: |
32 pip install -r requirements.txt
33 pip install bandit flake8 pylint
34
35 - name: Lint with flake8
36 run: make flake8
37
38 # - name: Lint with pylint
39 # run: make pylint
40
41 - name: Lint with bandit
42 run: make bandit