-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add OSP github actions + remove Appveyor files + remove docs/ (will be build on gh-pages) + update badges * Build the pkgdown website on PR Will not push to gh-pages during PR, only when merged + remove unused action * allowing vignette execution error * Update snapshots with latest tlf version * fix typos * Add a workflow step to increase dev version automatically + refactor all jobs in one main workflow
- Loading branch information
Showing
568 changed files
with
176 additions
and
105,983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: bump-dev-version | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
bump-dev-version: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: write-all | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- name: Install packages | ||
run: | | ||
install.packages("usethis") | ||
shell: Rscript {0} | ||
|
||
- name: Change DESCRIPTION file | ||
run: | | ||
if(usethis:::is_dev_version()){ | ||
desc::desc_set_version(version = usethis:::bump_version()[["dev"]]) | ||
} | ||
shell: Rscript {0} | ||
|
||
- name: commit modified DESCRIPTION file | ||
uses: EndBug/add-and-commit@v9 | ||
if: ${{ success() }} | ||
with: | ||
message: '🤖 Bump development version.' | ||
default_author: github_actions | ||
add: 'DESCRIPTION' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Main-Workflow | ||
|
||
on: | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
|
||
|
||
jobs: | ||
bump-dev-version: # only do that when actually merging in main/develop branch | ||
if: github.event_name != 'pull_request' | ||
uses: ./.github/workflows/bump-dev-version.yaml | ||
R-CMD-Check: | ||
if: ${{ always() }} | ||
needs: [bump-dev-version] | ||
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/R-CMD-check-build.yml@main | ||
with: | ||
install-pksim: true | ||
install-rClr: true | ||
extra-packages: | | ||
ospsuite.utils=github::Open-Systems-Pharmacology/OSPSuite.RUtils | ||
tlf=github::Open-Systems-Pharmacology/TLF-Library | ||
test-coverage: | ||
if: ${{ always() }} | ||
needs: [R-CMD-Check] | ||
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/test-pkg-and-coverage.yml@main | ||
with: | ||
install-pksim: true | ||
install-rClr: true | ||
extra-packages: | | ||
ospsuite.utils=github::Open-Systems-Pharmacology/OSPSuite.RUtils | ||
tlf=github::Open-Systems-Pharmacology/TLF-Library | ||
pkgdown: | ||
if: ${{ always() }} | ||
needs: [R-CMD-Check] | ||
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/pkgdown.yml@main | ||
with: | ||
install-pksim: true | ||
install-rClr: true | ||
extra-packages: | | ||
ospsuite.utils=github::Open-Systems-Pharmacology/OSPSuite.RUtils | ||
tlf=github::Open-Systems-Pharmacology/TLF-Library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,47 @@ | ||
# History files | ||
.Rhistory | ||
.Rapp.history | ||
|
||
deploy/ | ||
|
||
packages/ | ||
|
||
temp/ | ||
|
||
tests/playground/ | ||
|
||
# Session Data files | ||
.RData | ||
|
||
# Example code in package build process | ||
*-Ex.R | ||
|
||
# Output files from R CMD build | ||
/*.tar.gz | ||
|
||
# Output files from R CMD check | ||
/*.Rcheck/ | ||
|
||
# RStudio files | ||
.Rproj.user/ | ||
|
||
# produced vignettes | ||
vignettes/*.html | ||
vignettes/*.pdf | ||
|
||
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 | ||
.httr-oauth | ||
|
||
# knitr and R markdown default cache directories | ||
/*_cache/ | ||
/cache/ | ||
|
||
# Temporary files created by R markdown | ||
*.utf8.md | ||
*.knit.md | ||
|
||
# Shiny token, see https://shiny.rstudio.com/articles/shinyapps.html | ||
rsconnect/ | ||
doc | ||
Meta | ||
# History files | ||
.Rhistory | ||
.Rapp.history | ||
|
||
deploy/ | ||
|
||
packages/ | ||
|
||
temp/ | ||
|
||
tests/playground/ | ||
|
||
# Session Data files | ||
.RData | ||
|
||
# Example code in package build process | ||
*-Ex.R | ||
|
||
# Output files from R CMD build | ||
/*.tar.gz | ||
|
||
# Output files from R CMD check | ||
/*.Rcheck/ | ||
|
||
# RStudio files | ||
.Rproj.user/ | ||
|
||
# produced vignettes | ||
vignettes/*.html | ||
vignettes/*.pdf | ||
|
||
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 | ||
.httr-oauth | ||
|
||
# knitr and R markdown default cache directories | ||
/*_cache/ | ||
/cache/ | ||
|
||
# Temporary files created by R markdown | ||
*.utf8.md | ||
*.knit.md | ||
|
||
# Shiny token, see https://shiny.rstudio.com/articles/shinyapps.html | ||
rsconnect/ | ||
doc | ||
Meta | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.