Skip to content

Commit

Permalink
Add github actions to the repo
Browse files Browse the repository at this point in the history
Add yaml for the new CI (github actions).
  • Loading branch information
nemanjamart committed Feb 11, 2021
1 parent fd8975d commit e2743b3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Python CI actions

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: |
pytest
- run: coveralls

0 comments on commit e2743b3

Please sign in to comment.