Skip to content

Commit 139b2d0

Browse files
author
Ivan Dlugos
committed
add github CI
1 parent b81802a commit 139b2d0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Test
5+
on: [ push, pull_request ]
6+
7+
jobs:
8+
test:
9+
strategy:
10+
matrix:
11+
os: [ ubuntu, windows, macos ]
12+
python: [ 3.4, 3.5, 3.6, 3.7, 3.8 ]
13+
14+
# Python v3.4 is not available on macos and windows
15+
exclude:
16+
- os: macos
17+
python: 3.4
18+
- os: windows
19+
python: 3.4
20+
21+
runs-on: ${{ matrix.os }}-latest
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
26+
- name: Set up Python ${{ matrix.python }}
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: ${{ matrix.python }}
30+
31+
- name: Prepare environment
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install virtualenv
35+
36+
- run: make depend
37+
- run: make test

0 commit comments

Comments
 (0)