Skip to content

Commit

Permalink
Added Github CI (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
matusvalo committed Nov 12, 2021
1 parent bb23a4f commit 0713348
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on: [pull_request, push]
jobs:
#################### Unittests ####################
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7,3.8,3.9]
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
- name: Check out code from GitHub
uses: actions/checkout@v2.3.5
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install --upgrade pip setuptools wheel tox tox-docker
- name: Run unittest
run: tox -v -e ${{ matrix.python-version }}-linux-unit -- -v
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py3{5,6,7,8,9}, pypy{,3}
envlist = 3.7,3.8,3.9-linux-unit
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 0713348

Please sign in to comment.