Skip to content

Commit

Permalink
Merge pull request #28 from lagerfeuer/github-actions
Browse files Browse the repository at this point in the history
Add coverage upload to coveralls.io
  • Loading branch information
lagerfeuer committed Jan 25, 2020
2 parents 87efafa + eeda2af commit 60dfc33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -9,14 +9,25 @@ jobs:

steps:
- uses: actions/checkout@v1

- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
python -m pytest --cov=cryptocompare
python -m pytest --cov=cryptocompare tests/
- name: Upload coverage report to coveralls.io
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
pip install coveralls
coveralls
File renamed without changes.

0 comments on commit 60dfc33

Please sign in to comment.