File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : pytest
1+ name : CI
22
33on :
44 push :
6262 ssh localhost
6363
6464 - name : Install package 📦
65- run : |
66- python3 -m pip install --upgrade pip setuptools
67- python3 -m pip install coveralls
68- python3 -m pip install -e .
69- python3 -m pip install -e .[pytest]
65+ run : python3 -m pip install -e .[pytest]
7066
7167 - name : Prepare database 🗄️
7268 run : |
8884 echo "ISIMIP_MOCK=${{ matrix.mock }}" >> $GITHUB_ENV
8985
9086 - name : Run pytest 🧪
91- run : |
92- pytest --cov=isimip_publisher
93- coveralls --service=github
94- env :
95- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
96- COVERALLS_FLAG_NAME : " ${{ env.PYTHON_VERSION }}-mock-${{ matrix.mock }}"
97- COVERALLS_PARALLEL : true
98-
99- coveralls :
100- needs : pytest
101- runs-on : ubuntu-latest
102- container : python:3-slim
103- steps :
104- - name : Run coveralls finish
105- run : |
106- pip install coveralls
107- coveralls --service=github --finish
108- env :
109- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+ run : pytest --cov=isimip_utils --cov-fail-under=90 --cov-report=term-missing
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ISIMIP publisher
33
44[ ![ Python Version] ( https://img.shields.io/badge/python->=3.11-blue )] ( https://www.python.org/ )
55[ ![ License] ( https://img.shields.io/github/license/ISI-MIP/isimip-publisher?style=flat )] ( https://github.com/rdmorganiser/isimip-publisher/blob/main/LICENSE )
6- [ ![ CI status] ( https://github.com/ISI-MIP/isimip-publisher/actions/workflows/pytest.yml /badge.svg )] ( https://github.com/ISI-MIP/isimip-publisher/actions/workflows/pytest.yml )
6+ [ ![ CI status] ( https://github.com/ISI-MIP/isimip-publisher/actions/workflows/ci.yaml /badge.svg )] ( https://github.com/ISI-MIP/isimip-publisher/actions/workflows/ci.yaml )
77[ ![ Latest release] ( https://shields.io/github/v/release/ISI-MIP/isimip-publisher )] ( https://github.com/ISI-MIP/isimip-publisher/releases )
88
99A command line tool to publish climate impact data from the ISIMIP project. This tool is used for the [ ISIMIP repository] ( https://data.isimip.org ) .
You can’t perform that action at this time.
0 commit comments