Skip to content

Commit

Permalink
Keep all the test and coverage steps in same workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
metazool committed Jun 25, 2024
1 parent 934b769 commit e38378b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
branches: [ "main" ]

jobs:
example-1:
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }})
tests:
name: Tests (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
defaults:
run:
Expand All @@ -27,4 +27,12 @@ jobs:
auto-activate-base: false
- run: |
pip install pytest-cov
python -m pytest --cov=cyto_ml tests/
python -m pytest --cov=cyto_ml --cov-report xml:coverage.xml tests/
coverage:
runs-on: ubuntu-latest
steps:
- name: Test coverage report
uses: orgoro/coverage@v3.1
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
15 changes: 0 additions & 15 deletions .github/workflows/coverage.yml

This file was deleted.

0 comments on commit e38378b

Please sign in to comment.