forked from LTREB-reservoirs/vera4cast
-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (31 loc) · 948 Bytes
/
bundling.yaml
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
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
name: bundling
jobs:
forecasts:
runs-on: efi-cirrus
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
OSN_KEY: ${{ secrets.OSN_KEY }}
OSN_SECRET: ${{ secrets.OSN_SECRET }}
container:
image: eco4cast/rocker-neon4cast:latest
options: --memory 35g
steps:
- uses: actions/checkout@v4
- name: Install
shell: Rscript {0}
run: |
remotes::install_deps(".", dep=TRUE, upgrade=TRUE)
- name: Bundle forecasts
shell: Rscript {0}
run: |
source("scoring/bundled-forecasts.R")
- name: Bundle summaries
shell: Rscript {0}
run: |
source("scoring/bundled-summaries.R")