Skip to content

Commit

Permalink
codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
gbouras13 committed Aug 22, 2023
1 parent 0fbeaa5 commit 9679d41
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2,621 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,13 @@ jobs:
channels: conda-forge,bioconda,defaults
channel-priority: strict
auto-update-conda: true

- name: Install pharokka and run tests
shell: bash -l {0}
run: |
mamba install python=${{ matrix.python-version }}
python -m pip install --upgrade pip
pip install .
pytest --cov=./ --cov-report xml --cov-report lcov --cov-append
- name: "Generate coverage report on ${{ matrix.os }} for Python ${{ matrix.python-version }}"
run: |
pip install pytest pytest-cov
pytest --cov=./ --cov-report xml --cov-report lcov --cov-append
- name: Run tests and collect coverage
run: pytest --cov app
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

finish:
needs: tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.9"]
Loading

0 comments on commit 9679d41

Please sign in to comment.