Skip to content

Commit

Permalink
Revert "Use Coveralls GitHub Action"
Browse files Browse the repository at this point in the history
This reverts commit 7edacb9.
  • Loading branch information
Hiromu Hota committed Apr 10, 2020
1 parent 7edacb9 commit 58d1c3e
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,22 @@ jobs:
python -m spacy download en
env:
PGPASSWORD: postgres
- name: Test with pytest and combine the coverage results
- name: Test with pytest
run: |
coverage run -m pytest tests
coverage combine
env:
PGPASSWORD: postgres
PGUSER: postgres
POSTGRES_PORT: 5432
# Use 127.0.0.1 instead of localhost (#351)
POSTGRES_HOST: 127.0.0.1
- name: Coveralls
- name: Upload to coveralls.io
if: github.repository == 'HazyResearch/fonduer'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run: |
coverage combine
coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.coveralls_repo_token }}
macos-test:
runs-on: macos-latest
strategy:
Expand Down Expand Up @@ -152,11 +153,10 @@ jobs:
make docs
env:
PGPASSWORD: postgres
- name: Test with pytest and combine the coverage results
- name: Test with pytest
run: |
python -m spacy download en
coverage run -m pytest tests
coverage combine
env:
PGPASSWORD: postgres
PGUSER: postgres
Expand All @@ -166,11 +166,13 @@ jobs:
# https://stackoverflow.com/questions/53014306/error-15-initializing-
# libiomp5-dylib-but-found-libiomp5-dylib-already-initial
KMP_DUPLICATE_LIB_OK: true
- name: Coveralls
- name: Upload to coveralls.io
if: github.repository == 'HazyResearch/fonduer'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run: |
coverage combine
coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.coveralls_repo_token }}
build-and-publish:
name: Build and Publish Fonduer to PyPI
runs-on: ubuntu-latest
Expand Down

0 comments on commit 58d1c3e

Please sign in to comment.