Skip to content

Commit

Permalink
Merge pull request #145 from jiajic/dev
Browse files Browse the repository at this point in the history
Update main_check.yml
  • Loading branch information
jiajic authored Jan 3, 2024
2 parents 6bafb82 + 5dab01d commit 95e9e9a
Showing 1 changed file with 3 additions and 35 deletions.
38 changes: 3 additions & 35 deletions .github/workflows/main_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
- name: Checkout repo for workflow access
uses: actions/checkout@v3

- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Set up R environment
uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -61,13 +64,6 @@ jobs:
dependencies: '"hard"' # do not use suggested dependencies
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::remotes, any::sp, any::stars, any::raster, any::sf, any::scattermore, any::exactextractr, github::drieslab/GiottoData

- name: Set up dependencies (GiottoData)
run: |
suppressWarnings({
remotes::install_github('drieslab/GiottoData', build = FALSE)
})
shell: Rscript {0}

- name: Test python env build
run: |
if (!GiottoClass::checkGiottoEnvironment()) {
Expand All @@ -89,31 +85,3 @@ jobs:



# render-rmarkdown:
# name: Update README.Rmd
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
#
# - uses: r-lib/actions/setup-pandoc@v2
#
# - uses: r-lib/actions/setup-r@v2
#
# - uses: r-lib/actions/setup-renv@v2
#
# - name: Install rmarkdown
# run: Rscript -e 'install.packages("rmarkdown")'
#
# - name: Render README
# run: Rscript -e 'rmarkdown::render("README.Rmd")'
#
# - name: Commit results
# run: |
# git commit README.md -m 'Re-build README.Rmd' || echo "No changes to commit"
# git push origin || echo "No changes to commit"



0 comments on commit 95e9e9a

Please sign in to comment.