Skip to content

Add ability to derive variables and add selected derived forcings #182

Add ability to derive variables and add selected derived forcings

Add ability to derive variables and add selected derived forcings #182

name: pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test pip install python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Install package with pip
run: |
python -m pip install .
python -m pip install pytest
- name: Run tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
python -m pytest tests/