Skip to content

Commit

Permalink
codecov actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Aug 26, 2021
1 parent 9df0766 commit e87c91f
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci_with_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
run: |
python setup.py install
# - name: Run test_utils
# run: |
# pytest tests/test_utils.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
- name: Run test_utils
run: |
pytest tests/test_utils.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
# - name: Run test_shape
# run: |
# pytest tests/test_shape.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
Expand All @@ -42,9 +42,15 @@ jobs:
# - name: Run test_parametric_components
# run: |
# pytest tests/test_parametric_components/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
- name: Run test_parametric_reactors
run: |
pytest tests/test_parametric_reactors/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
# - name: Run test_parametric_reactors
# run: |
# pytest tests/test_parametric_reactors/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
- name: Upload to codecov
run: |
bash <(curl -s https://codecov.io/bash)
uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
# files: ./coverage1.xml,./coverage2.xml # optional
# flags: unittests # optional
# name: codecov-umbrella # optional
# fail_ci_if_error: true # optional (default = false)
# verbose: true # optional (default = false)

0 comments on commit e87c91f

Please sign in to comment.