Skip to content

Commit

Permalink
Switch tests from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemanja Martinovic committed May 4, 2021
1 parent 02f1e8d commit 408eaa6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 23 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: GitHub Actions CI

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade wheel setuptools pip
pip install -U -r requirements.txt
pip install -U -r dev-requirements.txt
- name: Test with pytest
run: |
py.test
- name: Upload coverage data to coveralls.io
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage==4.5.4
coveralls==1.8.2
coverage==5.2.1
coveralls==2.2.0
Flask-Testing==0.8.1
httpretty==0.8.10
mock==3.0.5
Expand Down

0 comments on commit 408eaa6

Please sign in to comment.