Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Submit to coveralls from github actions instead of travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bboe committed Jan 5, 2020
1 parent 5b9a00c commit bb0e00b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -28,11 +28,27 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[ci,test]
pip install .[test]
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
- name: Test with pytest
run: coverage run --source prawtools --module pytest
- env:
COVERALLS_PARALLEL: true
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Submit to coveralls
run: coveralls
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
complete_coverals:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

name: CI
on: [push]
on: [pull_request, push]
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -19,7 +19,6 @@ python:
- 3.8
script:
- coverage run --source=prawtools --module pytest
- coveralls
stages:
- lint
- test

0 comments on commit bb0e00b

Please sign in to comment.