Skip to content

Commit

Permalink
fixed coverage reporting issue on codecov
Browse files Browse the repository at this point in the history
Signed-off-by: Kharude, Sachin <sachin.kharude@here.com>
  • Loading branch information
Kharude, Sachin committed Feb 17, 2021
1 parent 7c2ca73 commit a324adc
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
run: |
conda env update --file ci/env/environment.yml --name test
- name: Install xyzspaces
shell: bash -l {0}
run: pip install .[dev]

- name: Lint check
shell: bash -l {0}
run: |
Expand All @@ -52,7 +48,7 @@ jobs:
HERE_USER: ${{ secrets.HERE_USER }}
HERE_PASSWORD: ${{ secrets.HERE_PASSWORD }}
run: |
pytest -v --durations=10 --cov-report=xml --cov=xyzspaces tests
pytest -v --durations=10 --cov=xyzspaces tests --cov-report=xml
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
Expand All @@ -68,3 +64,7 @@ jobs:
run: |
make draft_changelog
sh scripts/build_docs.sh
- name: Install xyzspaces
shell: bash -l {0}
run: pip install .[dev]
2 changes: 2 additions & 0 deletions ci/env/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: test
channels:
- conda-forge
dependencies:
- pip
- backoff>=1.10.0
- geojson
- requests
Expand All @@ -10,4 +11,5 @@ dependencies:
- geobuf
- ijson==3.1.1
- pip:
- "-r ../../requirements.txt"
- "-r ../../requirements_dev.txt"
Empty file added tests/__init__.py
Empty file.
Empty file added tests/curl/__init__.py
Empty file.
Empty file added tests/hub/__init__.py
Empty file.
Empty file added tests/project/__init__.py
Empty file.
Empty file added tests/space/__init__.py
Empty file.
Empty file added tests/token/__init__.py
Empty file.
Empty file added tests/tools/__init__.py
Empty file.
Empty file added tests/utils/__init__.py
Empty file.

0 comments on commit a324adc

Please sign in to comment.