-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
author meetagrawal09 <[email protected]> 1694104254 +0530 committer meetagrawal09 <[email protected]> 1700486393 +0530 added manual trigger, updated date
- Loading branch information
1 parent
b442c86
commit b817573
Showing
21 changed files
with
232 additions
and
212 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,49 @@ | ||
name : Integration Tests | ||
on : | ||
on : | ||
# allow manual triggering | ||
workflow_dispatch: | ||
|
||
# for debugging | ||
push: | ||
pull_request: | ||
|
||
schedule: | ||
- cron: '30 4 * * 1' | ||
# run Thursday 4:30 AM UTC | ||
- cron: '30 4 * * 4' | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
container: | ||
image: pecan/depends:R4.1 | ||
image: pecan/base:develop | ||
|
||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- name: CDS API file setup | ||
run: | | ||
echo "url: https://cds.climate.copernicus.eu/api/v2" >> .cdsapirc | ||
echo "key: ${{ secrets.ERA5_API_KEY }}" >> .cdsapirc | ||
- name: Print Output to Console | ||
run: | | ||
cat .cdsapirc | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install python3-pip -y | ||
sudo -H python3 -m pip install --upgrade pip | ||
sudo -H pip install --user cdsapi | ||
- name: Run tests | ||
run: | | ||
for FILE in modules/data.atmosphere/inst/integrationTests/*; Rscript $FILE; | ||
for FILE in modules/data.atmosphere/inst/integrationTests/*; do | ||
Rscript $FILE; | ||
done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
rmd_subdir: true | ||
edit: https://github.com/tonygardella/pecan/edit/release/vtonydoc/book_source/%s | ||
edit: https://github.com/PecanProject/pecan/edit/develop/book_source/%s |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ Sys.setenv(RLIB = rlib) | |
|
||
# install remotes first in case packages are references in dependencies | ||
remotes::install_github(c( | ||
'adokter/suntools', | ||
'araiho/linkages_package', | ||
'chuhousen/amerifluxr', | ||
'ebimodeling/[email protected]', | ||
|
@@ -76,7 +77,6 @@ wanted <- c( | |
'magic', | ||
'magrittr', | ||
'maps', | ||
'maptools', | ||
'markdown', | ||
'MASS', | ||
'Matrix', | ||
|
@@ -113,7 +113,6 @@ wanted <- c( | |
'reshape', | ||
'reshape2', | ||
'reticulate', | ||
'rgdal', | ||
'rjags', | ||
'rjson', | ||
'rlang', | ||
|
@@ -130,6 +129,7 @@ wanted <- c( | |
'stats', | ||
'stringi', | ||
'stringr', | ||
'suntools', | ||
'swfscMisc', | ||
'terra', | ||
'testthat', | ||
|
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
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
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
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
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
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
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
Oops, something went wrong.