Skip to content

Commit

Permalink
CI #68
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Aug 18, 2022
1 parent 63bc638 commit 0a544b7
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ jobs:
channel-priority: flexible
environment-file: environment.yml
environment-name: anaconda-test-env-py-${{ matrix.python-version }}
# extra-specs: |
# coverage
# coveralls
# pytest
# extra-specs: |
# pytest
# pytest-cov

- name: Initial diagnostics
run: |
Expand All @@ -78,48 +71,10 @@ jobs:
micromamba env list
micromamba list
# - name: Test with pytest
# run: |
# python -m pip install pytest pytest-cov
# python -m pytest -vvv --cov=. --cov-report xml

# - name: Post-test diagnostic
# run: |
# ls -lart

# # # https://stackoverflow.com/questions/6091077
# # # https://github.com/marketplace/actions/coveralls-github-action
# # - name: Coveralls Parallel
# # uses: coverallsapp/github-action@master
# # with:
# # flag-name: run-${{ matrix.test_number }}
# # github-token: ${{ secrets.GITHUB_TOKEN }}
# # parallel: true
# # path-to-lcov: coverage.xml
# # # path-to-lcov: ${{ github.workspace }}/coverage/lcov.info

# upload-coverage:
# name: Upload combined coverage
# needs: test-matrix
# runs-on: ubuntu-latest
# steps:

# - name: Directory listing
# run: |
# ls -lart

# # - name: Coveralls Finished
# # uses: coverallsapp/github-action@master
# # with:
# # github-token: ${{ secrets.GITHUB_TOKEN }}
# # parallel-finished: true

# # ------------------------------- # ------------------------------- #
- name: Run tests with pytest & coverage
shell: bash -l {0}
run: |
python -m pip install pytest coverage coveralls
# python -m pip install pytest pytest-cov
coverage run --concurrency=thread --parallel-mode -m pytest -vvv .
coverage combine
coverage report --precision 3
Expand Down

0 comments on commit 0a544b7

Please sign in to comment.