Skip to content

Commit

Permalink
Merge 8da179d into cd67113
Browse files Browse the repository at this point in the history
  • Loading branch information
pabluk committed Nov 17, 2019
2 parents cd67113 + 8da179d commit 570cd4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Python package

on: [push]
on: ["push", "pull_request"]

jobs:
build:
Expand All @@ -17,13 +17,15 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install coveralls nose
pip install -r requirements-test.txt
- name: Test with Nose
run: |
nosetests --with-coverage --cover-package=application_only_auth
- name: Run coveralls
- name: Coveralls
run: |
coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mock==3.0.5; python_version <= '2.7'
nose==1.3.7
coveralls==1.8.2

0 comments on commit 570cd4f

Please sign in to comment.