Skip to content

Commit

Permalink
new feature: test actions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kdreval committed Mar 14, 2024
1 parent 991cd8d commit 4d411de
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/build_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: GAMBLR.helpers build check

on:
push:
branches: [kdreval-helpers-setup]
pull_request:
branches: [master]


jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Conda
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Create conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: r
channels: anaconda,conda-forge,defaults
python-version: 3.11
auto-activate-base: false
environment-file: envs/r.yaml

- name: Build package
run:
Rscript -e "devtools::install()"

- name: Check package
run:
Rscript -e "devtools::check(vignettes = FALSE, args = '--no-examples')"

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
187 changes: 187 additions & 0 deletions envs/r.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
name: r
channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1
- _openmp_mutex=4.5
- _r-mutex=1.0.0
- binutils_impl_linux-64=2.38
- bwidget=1.9.16
- bzip2=1.0.8
- c-ares=1.19.1
- ca-certificates=2023.12.12
- cairo=1.18.0
- curl=8.5.0
- expat=2.5.0
- font-ttf-dejavu-sans-mono=2.37
- font-ttf-inconsolata=2.001
- font-ttf-source-code-pro=2.030
- font-ttf-ubuntu=0.83
- fontconfig=2.14.2
- fonts-anaconda=1
- fonts-conda-ecosystem=1
- freetype=2.12.1
- fribidi=1.0.10
- gcc_impl_linux-64=11.2.0
- gettext=0.21.0
- gfortran_impl_linux-64=11.2.0
- graphite2=1.3.14
- gxx_impl_linux-64=11.2.0
- harfbuzz=8.3.0
- icu=73.2
- kernel-headers_linux-64=2.6.32
- krb5=1.20.1
- ld_impl_linux-64=2.38
- lerc=4.0.0
- libblas=3.9.0
- libcurl=8.5.0
- libdeflate=1.19
- libedit=3.1.20230828
- libev=4.33
- libffi=3.4.4
- libgcc-devel_linux-64=11.2.0
- libgcc-ng=13.2.0
- libgfortran-ng=11.2.0
- libgfortran5=11.2.0
- libgit2=1.6.4
- libglib=2.78.4
- libgomp=13.2.0
- libiconv=1.17
- libjpeg-turbo=3.0.0
- liblapack=3.9.0
- libnghttp2=1.57.0
- libopenblas=0.3.21
- libpng=1.6.43
- libssh2=1.10.0
- libstdcxx-devel_linux-64=11.2.0
- libstdcxx-ng=13.2.0
- libtiff=4.6.0
- libuuid=2.38.1
- libwebp-base=1.3.2
- libxcb=1.15
- libxml2=2.10.4
- libzlib=1.2.13
- lz4-c=1.9.4
- make=4.2.1
- ncurses=6.4
- openssl=3.0.13
- pandoc=2.12
- pango=1.52.0
- pcre2=10.42
- pixman=0.43.2
- r-askpass=1.2.0
- r-base=4.3.3
- r-base64enc=0.1_3
- r-brew=1.0_8
- r-brio=1.1.3
- r-bslib=0.5.1
- r-cachem=1.0.8
- r-callr=3.7.3
- r-cli=3.6.1
- r-clipr=0.8.0
- r-commonmark=1.9.0
- r-cpp11=0.4.6
- r-crayon=1.5.2
- r-credentials=2.0.1
- r-curl=5.1.0
- r-desc=1.4.2
- r-devtools=2.4.5
- r-diffobj=0.3.5
- r-digest=0.6.33
- r-downlit=0.4.3
- r-ellipsis=0.3.2
- r-evaluate=0.22
- r-fansi=1.0.5
- r-fastmap=1.1.1
- r-fontawesome=0.5.2
- r-fs=1.6.3
- r-gert=2.0.0
- r-gh=1.4.0
- r-gitcreds=0.1.2
- r-glue=1.6.2
- r-highr=0.10
- r-htmltools=0.5.6.1
- r-htmlwidgets=1.6.2
- r-httpuv=1.6.11
- r-httr=1.4.7
- r-httr2=0.2.3
- r-ini=0.3.1
- r-jquerylib=0.1.4
- r-jsonlite=1.8.7
- r-knitr=1.44
- r-later=1.3.1
- r-lifecycle=1.0.3
- r-magrittr=2.0.3
- r-memoise=2.0.1
- r-mime=0.12
- r-miniui=0.1.1.1
- r-openssl=2.1.1
- r-pillar=1.9.0
- r-pkgbuild=1.4.2
- r-pkgconfig=2.0.3
- r-pkgdown=2.0.7
- r-pkgload=1.3.3
- r-praise=1.0.0
- r-prettyunits=1.2.0
- r-processx=3.8.2
- r-profvis=0.3.8
- r-promises=1.2.1
- r-ps=1.7.5
- r-purrr=1.0.2
- r-r6=2.5.1
- r-ragg=1.2.6
- r-rappdirs=0.3.3
- r-rcmdcheck=1.4.0
- r-rcpp=1.0.11
- r-rematch2=2.1.2
- r-remotes=2.4.2.1
- r-rlang=1.1.1
- r-rmarkdown=2.25
- r-roxygen2=7.2.3
- r-rprojroot=2.0.3
- r-rstudioapi=0.15.0
- r-rversions=2.1.2
- r-sass=0.4.7
- r-sessioninfo=1.2.2
- r-shiny=1.7.5.1
- r-sourcetools=0.1.7_1
- r-stringi=1.7.12
- r-stringr=1.5.0
- r-sys=3.4.2
- r-systemfonts=1.0.5
- r-testthat=3.2.0
- r-textshaping=0.3.7
- r-tibble=3.2.1
- r-tinytex=0.48
- r-urlchecker=1.0.1
- r-usethis=2.2.2
- r-utf8=1.2.4
- r-vctrs=0.6.4
- r-waldo=0.5.1
- r-whisker=0.4.1
- r-withr=2.5.1
- r-xfun=0.40
- r-xml2=1.3.5
- r-xopen=1.0.0
- r-xtable=1.8_4
- r-yaml=2.3.7
- r-zip=2.3.0
- readline=8.2
- sed=4.8
- sysroot_linux-64=2.12
- tk=8.6.13
- tktable=2.10
- xorg-kbproto=1.0.7
- xorg-libice=1.1.1
- xorg-libsm=1.2.4
- xorg-libx11=1.8.7
- xorg-libxext=1.3.4
- xorg-libxrender=0.9.11
- xorg-libxt=1.3.0
- xorg-renderproto=0.11.1
- xorg-xextproto=7.3.0
- xorg-xproto=7.0.31
- xz=5.4.6
- zlib=1.2.13
- zstd=1.5.5

0 comments on commit 4d411de

Please sign in to comment.