Port sup3r Regridder
#306
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: reV Pytests | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout rex | |
uses: actions/checkout@v3 | |
with: | |
path: rex | |
- name: checkout reV | |
uses: actions/checkout@v3 | |
with: | |
repository: nrel/reV | |
fetch-depth: 1 | |
path: reV | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install rex dependencies | |
working-directory: ./rex | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install . | |
- name: Install reV dependencies | |
working-directory: ./reV | |
run: | | |
python -m pip install . | |
- name: Run reV pytest | |
working-directory: ./reV | |
run: | | |
python -m pip install pytest | |
python -m pytest -v --disable-warnings |