Skip to content

Commit

Permalink
Removing coverage for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrenaud90 committed Dec 2, 2024
1 parent 9691d9c commit 410289b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/push_tests_ubun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,33 @@ jobs:
- name: Run pytest
run: pytest -n auto -v Tests/

test-39-with-coverage:
name: Test Python 3.9 and Upload Coverage Report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov cython pytest-xdist
- name: Install package
run: |
python -m pip install . -v
# test-39-with-coverage:
# name: Test Python 3.9 and Upload Coverage Report
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python 3.9
# uses: actions/setup-python@v5
# with:
# python-version: 3.9
# - name: Install Dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install pytest pytest-cov cython pytest-xdist
# - name: Install package
# run: |
# python -m pip install . -v

- name: Run pytest
run: pytest -n auto --capture=sys -v --cov=CyRK Tests/
env:
# Disable numba so that njited functions can have their coverage checked.
NUMBA_DISABLE_JIT: 1
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
fail_ci_if_error: false
flags: unittests
verbose: true
name: coverage
# - name: Run pytest
# run: pytest -n auto --capture=sys -v --cov=CyRK Tests/
# env:
# # Disable numba so that njited functions can have their coverage checked.
# NUMBA_DISABLE_JIT: 1
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# env_vars: OS,PYTHON
# fail_ci_if_error: false
# flags: unittests
# verbose: true
# name: coverage
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div style="text-align: center;">
<a href="https://doi.org/10.5281/zenodo.7093266"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.7093266.svg" alt="DOI"></a>
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/Python-3.8|3.9|3.10|3.11|3.12-blue" alt="Python Version 3.8-3.12" /></a>
<a href="https://codecov.io/gh/jrenaud90/CyRK" ><img src="https://codecov.io/gh/jrenaud90/CyRK/branch/main/graph/badge.svg?token=MK2PqcNGET" alt="Code Coverage"/></a>
<!-- <a href="https://codecov.io/gh/jrenaud90/CyRK" ><img src="https://codecov.io/gh/jrenaud90/CyRK/branch/main/graph/badge.svg?token=MK2PqcNGET" alt="Code Coverage"/></a> -->
<br />
<a href="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_win.yml"><img src="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_win.yml/badge.svg?branch=main" alt="Windows Tests" /></a>
<a href="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_mac.yml"><img src="https://github.com/jrenaud90/CyRK/actions/workflows/push_tests_mac.yml/badge.svg?branch=main" alt="MacOS Tests" /></a>
Expand Down

0 comments on commit 410289b

Please sign in to comment.