Skip to content

Commit

Permalink
codecov added
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Nov 8, 2024
1 parent 5c69680 commit d3cb17a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/unittest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,17 @@ jobs:
unittest:
runs-on: ubuntu-latest
steps:
- name: checkout xcube
uses: actions/checkout@v4
with:
repository: xcube-dev/xcube
path: xcube

- name: checkout xcube-zenodo
uses: actions/checkout@v4
with:
path: xcube-zenodo

- name: Set up MicroMamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: xcube-zenodo/environment.yml
environment-file: environment.yml

- name: Run unit tests
shell: bash -l {0}
run: |
cd /home/runner/work/xcube-zenodo/xcube-zenodo/xcube-zenodo
ls
pytest --cov=xcube_zenodo --cov-report=xml
- name: Upload coverage reports to Codecov
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# xcube-zenodo

[![Build Status](https://github.com/xcube-dev/xcube-zenodo/actions/workflows/unittest-workflow.yml/badge.svg?branch=main)](https://github.com/xcube-dev/xcube-zenodo/actions)
[![codecov](https://codecov.io/gh/xcube-dev/xcube-zenodo/graph/badge.svg?token=ktcp1maEgz)](https://codecov.io/gh/xcube-dev/xcube-zenodo)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![License](https://img.shields.io/github/license/dcs4cop/xcube-smos)](https://github.com/xcube-dev/xcube-zenodo/blob/main/LICENSE)

Expand Down

0 comments on commit d3cb17a

Please sign in to comment.