Skip to content

test

test #289

Workflow file for this run

name: CodeCov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: ‘2’
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Generate Report
run: |
pip install coverage
pip install -U pytest
pip install --upgrade pip setuptools wheel
sudo apt-get install gfortran
pip install numpy
pip install scipy
pip install xarray
python setup.py develop
coverage run -m pytest -k "not output_results"
- name: Upload Coverage to Codecov
run: |
bash <(curl -s https://codecov.io/bash)
#uses: codecov/codecov-action@v2 # failed to generate report with this command