Skip to content

R interface for demeter #72

R interface for demeter

R interface for demeter #72

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.9'
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install configobj==5.0.6
pip install numpy==1.20.3
pip install pandas==1.2.4
pip install scipy==1.6.3
pip install requests==2.25.1
pip install xarray==0.20.2
pip install git+https://github.com/JGCRI/gcamreader.git
- name: Test and generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
fail_ci_if_error: true