forked from csernazs/pytest-httpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 697 Bytes
/
ci.yml
File metadata and controls
30 lines (27 loc) · 697 Bytes
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
name: build
on: [push, pull_request]
jobs:
test:
name: Test with python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Bootstrap test environment
run: |
sudo apt update
sudo apt install python3-venv make
python -m pip install --upgrade pip
make dev
- name: Lint
run: |
make cs
- name: Test
run: |
make quick-test