Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup cyclones workflow #1

Merged
merged 3 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/test-targets-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install system dependencies
run: |
apt-get update && apt-get install -y --no-install-recommends \
libxt6 libglpk-dev
libxt6 libglpk-dev libpoppler-cpp-dev

- name: Trust git repo
run: |
git config --global --add safe.directory /__w/ihtm-targets-template/ihtm-targets-template
git config --global --add safe.directory /__w/pagasa_db/pagasa_db

- name: Install packages from renv.lock (with cache)
if: ${{ !env.ACT }}
Expand All @@ -41,7 +41,9 @@ jobs:

- name: Run workflow
run: |
targets::tar_make()
targets::tar_make(
cyclones_peak_data_csv, script = "_targets_cyclones.R"
)
shell: Rscript {0}


3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
.Ruserdata
_targets
docs
#data-raw
data-raw
!data-raw/.gitkeep
data
!data/.gitkeep

Loading