Skip to content

Commit

Permalink
Switch from buildkite to GitHub actions.
Browse files Browse the repository at this point in the history
We now have the ability to connect to Packit directly from GitHub
actions, which removes the need to use our internal Buildkite
infrastructure.
  • Loading branch information
plietar committed Oct 1, 2024
1 parent 216f3ed commit 33546b2
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 101 deletions.
11 changes: 0 additions & 11 deletions .buildkite/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions .buildkite/pipeline.R

This file was deleted.

11 changes: 0 additions & 11 deletions .buildkite/pipeline.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .buildkite/pipeline.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .buildkite/pkgdepends.txt

This file was deleted.

92 changes: 92 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
on:
- push
- pull_request

jobs:
lassa:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: |
https://mrc-ide.r-universe.dev
- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: NA
packages: |
mrc-ide/epireview
orderly.sharedfile
cowplot
doconv
dplyr
epitrix
estmeansd
flextable
ftExtra
ggbreak
ggforce
ggplot2
ggrepel
ggsci
ggspatial
grid
gridExtra
gt
harrypotter
ids
janitor
meta
metafor
mixdist
odbc
officer
optparse
patchwork
png
purrr
ragg
readr
readxl
rio
rnaturalearth
rnaturalearthdata
scales
sf
snakecase
splitstackshape
stringr
tibble
tidyr
tidyverse
tm
writexl
zip
- uses: mrc-ide/orderly-action@main
with:
packit-url: https://packit.dide.ic.ac.uk/priority-pathogens

- shell: Rscript {0}
run: |
library(orderly2)
orderly_location_pull_packet("latest(name == 'db_extraction' && parameter:pathogen == 'LASSA')",
options = list(location="packit"))
ids <- c(
orderly_run("db_double", parameters = list(pathogen = "LASSA")),
orderly_run("db_compilation", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_serology", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_severity", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_delays", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_transmission", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_summary", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_latex_tables", parameters = list(pathogen = "LASSA")),
orderly_run("lassa_collate", parameters = list(pathogen = "LASSA")))
orderly_location_push(ids, "packit")

0 comments on commit 33546b2

Please sign in to comment.