Try pip and upload to codecov
@@ -41,7 +41,6 @@ jobs:
conda env create -f utils/environment_minimal.yml
conda init bash
source activate sharpy_minimal
- conda install coverage
- name: Install
run: |
git submodule init
@@ -50,7 +49,11 @@ jobs:
source bin/sharpy_vars.sh
mkdir build && cd build
cmake .. && make install -j 4 && cd ..
- - name: Test with pytest
+ - name: Test with coverage
run: |
- which coverage
+ pip install coverage
coverage run -m unittest discover
+ - name: Upload Coverage to Codecov
+ uses: codecov/codecov-action@v2
+ with:
+ verbose: true
