Skip to content

Commit

Permalink
Add GitHub actions (#36)
Browse files Browse the repository at this point in the history
* Delete .travis.yml

* Add github actions
  • Loading branch information
nemanjamart authored Mar 2, 2021
1 parent 71ef85f commit 2aaedc2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 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
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

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

- name: Install dependencies
run: |
python -m pip install --upgrade setuptools pip
pip install -U -r requirements.txt
pip install -U -r dev-requirements.txt
- name: Test with pytest
run: |
py.test
- run: coveralls
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 2aaedc2

Please sign in to comment.