metrumresearchgroup / mrgvalprep

Helpers for prepping inputs to mrgvalidate
https://metrumresearchgroup.github.io/mrgvalprep
Other
1 stars 0 forks source link

Ci/configuring drone #11

Closed seth127 closed 3 years ago

seth127 commented 3 years ago

Adding some basic checks in drone

Copied the basic drone from the bbr repo's .drone.yml, but we are not currently doing any matrix builds here (in bbr, we test multiple R versions and MPN snapshots), we are only testing the tip of CRAN in R 4.0. We can add more later if we want, but this seemed like a good start, and much better than nothing.

seth127 commented 3 years ago

The "get_sys_info() writes to json" test is failing because of some difficulty with passing the USER env var through

══ Failed tests ════════════════════════════════════════════════════════════════
--
376 | ── Failure (test-get-sys-info.R:24:3): get_sys_info() writes to json ───────────
377 | stringr::str_detect(written_res$executor, Sys.getenv("USER")) is not TRUE

Tried a few things here and here but no luck yet.

seth127 commented 3 years ago

Hey! Looks like it's working. The final step build on the test tag to s3://mpn.metworx.dev/releases/mrgvalprep/0.0.1.8002/