Skip to content

Commit

Permalink
Enabled ci on all branches, fixed coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
ye11ow committed Sep 11, 2021
1 parent 9fc4ba3 commit 168b58b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

name: Python application

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: [push, pull_request]

jobs:
build:
Expand All @@ -28,8 +24,9 @@ jobs:
- name: Test with pytest
run: |
python -m pytest tests/unit --cov=. --cov-report html --cov-report term
# - name: Coveralls
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# coveralls
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS }}
run: |
coveralls

0 comments on commit 168b58b

Please sign in to comment.