-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (41 loc) · 1.11 KB
/
pr_revx_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: reVX Pytests
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout rex
uses: actions/checkout@v3
with:
path: rex
- 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 reVX dependencies
working-directory: ./reVX
shell: bash -l {0}
run: |
conda install pip rtree pytest
pip install geopandas
pip install --upgrade --force-reinstall shapely~=1.8
pip install -e .
pip install HOPP
- name: Install rex
working-directory: ./rex
shell: bash -l {0}
run: |
pip install --upgrade --force-reinstall numpy~=1.24
pip install -e .
- name: Run reVX pytest
working-directory: ./reVX
shell: bash -l {0}
run: |
pytest -v --disable-warnings