Skip to content

Commit

Permalink
testing workflow edits
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Jan 5, 2024
1 parent 7542ea3 commit ae57411
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 58 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Codecov

on:
push:
branches: [main, master]
on: pull_request

jobs:
run:
Expand Down Expand Up @@ -54,6 +52,7 @@ jobs:
run: |
pip install -e .
- name: Install codecov dependencies
working-directory: ./nsrdb
run: |
python -m pip install --upgrade pip
python -m pip install pytest
Expand Down
45 changes: 1 addition & 44 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Documentation

on:
push:
branches: [main, master]
on: pull_request

jobs:
make-pages:
Expand All @@ -12,47 +10,6 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ['3.9']
steps:
- name: checkout nsrdb
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
path: nsrdb
- name: checkout mlclouds
uses: actions/checkout@v2
with:
repository: nrel/mlclouds
ssh-key: ${{ secrets.SSH_KEY }}
path: mlclouds
- name: checkout rest2
uses: actions/checkout@v2
with:
repository: nrel/rest2
ssh-key: ${{ secrets.SSH_KEY }}
path: rest2
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install rest2 dependencies
working-directory: ./rest2
shell: bash -l {0}
run: |
conda install pip
pip install -e .
- name: Install nsrdb dependencies
working-directory: ./nsrdb
shell: bash -l {0}
run: |
conda install hdf4
conda install -c conda-forge pyhdf
pip install -e .
- name: Install mlclouds dependencies
working-directory: ./mlclouds
shell: bash -l {0}
run: |
pip install -e .
- name: install sphinx dependencies
run: |
python -m pip install --upgrade pip
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/test.yml

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ matplotlib
NREL-cloud_fs>=0.0.8
NREL-farms>=1.0.5
NREL-reV<0.8.0
NREL-rest2>=1.0.1
scikit-learn>=1.0

0 comments on commit ae57411

Please sign in to comment.