Skip to content

Commit

Permalink
Removing lcov specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkwiecien committed Aug 7, 2023
1 parent 50a85ce commit 96eee3a
Showing 1 changed file with 2 additions and 38 deletions.
40 changes: 2 additions & 38 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
pip install -U mpi4py --no-cache-dir --no-deps
- name: Run Tests
run: pytest -vv --cov-report=lcov:lcov.info --cov=tjpcov tests/test_covariance_clusters.py
run: pytest -vv --cov=tjpcov tests/test_covariance_clusters.py
# run: pytest -vv tests/test_covariance_clusters.py --cov=tjpcov

- name: Run MPI Tests (OpenMPI)
Expand All @@ -122,43 +122,7 @@ jobs:
# Note we can't use the coveralls app for now, it's incompatible with pytest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: run-${{matrix.python-version}}-${{matrix.runs-on}}
run:
coveralls --service=github

# - name: Collect coverage report
# uses: coverallsapp/github-action@v2
# with:
# path-to-lcov: lcov.info
# github-token: ${{ secrets.GITHUB_TOKEN }}


# finish:
# needs: tests
# name: Collect and publish coverage report
# runs-on: ubuntu-latest

# steps:
# - name: Coveralls Finished
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# parallel-finished: true
# carryforward: "run-3.8-ubuntu-latest,run-3.11-ubuntu-latest,run-3.8-macos-latest,run-3.11-macos-latest"
# path-to-lcov: lcov.info

# steps:
# - uses: actions/setup-python@v4
# name: "Setup Pip"
# with:
# python-version: '3.11'

# - name: Publish code coverage report
# # Note we can't use the coveralls app for now, it's incompatible with pytest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_CARRYFORWARD_FLAGS: "run-3.8-ubuntu-latest,run-3.11-ubuntu-latest,run-3.8-macos-latest,run-3.11-macos-latest"
# run: |
# pip install -U coveralls
# coveralls --service=github

0 comments on commit 96eee3a

Please sign in to comment.