Minor updates #658
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: reVX Pytests | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout reV | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 1 | |
path: reV | |
- name: checkout reVX | |
uses: actions/checkout@v2 | |
with: | |
repository: nrel/reVX | |
fetch-depth: 1 | |
path: reVX | |
- name: Set up Python | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.9 | |
- name: Install reV dependencies | |
working-directory: ./reV | |
shell: bash -l {0} | |
run: | | |
conda install pip pandas | |
pip install -e . | |
- name: Install reVX dependencies | |
working-directory: ./reVX | |
shell: bash -l {0} | |
run: | | |
conda install rtree pip pytest | |
pip install -e . | |
pip install HOPP==0.0.5 | |
- name: Run reVX pytest | |
working-directory: ./reVX | |
shell: bash -l {0} | |
run: | | |
pytest -v --disable-warnings |