Replace travis with Github Actions

This commit is contained in:
Mieszko Banczerowski
2021-09-28 15:22:55 +00:00
parent a5b2a0890e
commit 6196e751c6
3 changed files with 21 additions and 9 deletions

20
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7.3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run tests
run: |
pytest