Skip to content

Commit

Permalink
Fix coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorig committed Jan 2, 2021
1 parent 6b83017 commit aea8fb0
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Python package
on: [push]

jobs:
build:
test:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.5, 3.7, 3.8]

Expand All @@ -27,4 +28,23 @@ jobs:
- name: Test with unittest
run: |
coverage run --source=stcgal setup.py test
coveralls
- name: Coveralls
run: |
coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.test-name }}
COVERALLS_PARALLEL: true

coveralls:
name: Finish Coveralls
needs: test
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aea8fb0

Please sign in to comment.