Skip to content

Commit

Permalink
Merge pull request #23 from xcube-dev/konstntokas-xxx-correct_readme_…
Browse files Browse the repository at this point in the history
…badges

Badges and CI workflow updated
  • Loading branch information
konstntokas authored Sep 16, 2024
2 parents ec08252 + 68e1fc2 commit 4ac6ac0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 63 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/unittest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ jobs:
- name: Set up MicroMamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: xcube-stac/environment_workflow.yml
environment-file: xcube-stac/environment.yml

- name: Install xcube and start xcube server
- name: Start xcube server
shell: bash -l {0}
run: |
cd /home/runner/work/xcube-stac/xcube-stac/xcube
ls
pip install .
xcube serve -c examples/serve/demo/config.yml &
- name: Run unit tests
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# xcube-stac

[![Build Status](https://github.com/xcube-dev/xcube-stac/actions/workflows/unittest-workflow.yml/badge.svg?branch=main)](https://github.com/xcube-dev/xcube-smos/actions)
[![codecov](https://codecov.io/gh/xcube-dev/xcube-stack/branch/main/graph/badge.svg)](https://app.codecov.io/gh/xcube-dev/xcube-stac)
[![Build Status](https://github.com/xcube-dev/xcube-stac/actions/workflows/unittest-workflow.yml/badge.svg?branch=main)](https://github.com/xcube-dev/xcube-stac/actions)
[![codecov](https://codecov.io/gh/xcube-dev/xcube-stac/graph/badge.svg?token=ktcp1maEgz)](https://codecov.io/gh/xcube-dev/xcube-stac)
[![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-stac/blob/main/LICENSE)

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- pystac
- pystac-client
- xarray
- xcube
- xcube >= 1.7.0
# for testing
- black
- flake8
Expand Down
56 changes: 0 additions & 56 deletions environment_workflow.yml

This file was deleted.

2 changes: 1 addition & 1 deletion test/test_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def test_open_data_xcube_server(self):
)
ds = mlds.base_dataset
self.assertIsInstance(mlds, MultiLevelDataset)
self.assertEqual(1, mlds.num_levels)
self.assertEqual(3, mlds.num_levels)
self.assertIsInstance(ds, xr.Dataset)
self.assertCountEqual(
[
Expand Down

0 comments on commit 4ac6ac0

Please sign in to comment.