-
Notifications
You must be signed in to change notification settings - Fork 3
Dev main #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev main #141
Changes from all commits
3fb0ee7
ffe4b0e
6926bff
ec23c11
fc934ec
dc093c7
ef13bde
956ef18
e0d881f
f9b0096
8f4276b
91c3952
ae7c681
4b2b8ce
aaf973f
0f6d318
8fab0c8
bca15c5
4da01af
b0b5457
94cabd3
a272140
d596f0f
3a2b8e2
a397295
607f609
9ad9f7e
a462396
2562330
17ddb4d
effa5cf
e29f0a2
c2b938a
1081da0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,38 @@ | ||
| CITATION.cff$ | ||
| ^.*\.Rproj$ | ||
| ^BGmisc\.Rproj$ | ||
| ^\.Rproj\.user$ | ||
| ^BGmisc\.code-workspace$ | ||
| ^BGmisc_main\.code-workspace$ | ||
| ^CITATION\.cff$ | ||
| ^CODE_OF_CONDUCT\.md$ | ||
| ^CONTRIBUTING\.md$ | ||
| ^CRAN-SUBMISSION$ | ||
| ^LICENSE.md$ | ||
| ^LICENSE\.md$ | ||
| ^Meta$ | ||
| ^R/\.Rhistory$ | ||
| ^R/paper$ | ||
| ^checkParents\.X | ||
| ^test-clean\.X | ||
| CITATION.cff$ | ||
| ^doc$ | ||
| ^data-raw$ | ||
| ^Meta$ | ||
| ^vignettes/articles$ | ||
| ^README\.Rmd$ | ||
| ^\.Rproj\.user$ | ||
| ^\.github$ | ||
| ^cran-comments\.md$ | ||
| ^CRAN-SUBMISSION$ | ||
| ^BGmisc\.code-workspace$ | ||
| ^\.httr-oauth$ | ||
| ^\.lintr$ | ||
| ^CODE_OF_CONDUCT\.md$ | ||
| ^CONTRIBUTING\.md$ | ||
| ^\.vscode$ | ||
| ^\.zenodo\.json$ | ||
| ^_pkgdown.yml$ | ||
| ^_pkgdown\.yml$ | ||
| ^checkParents\.X | ||
| ^checklist.yml$ | ||
| ^codecov\.yml$ | ||
| ^codecov\.xaml$ | ||
| ^cran-comments\.md$ | ||
| ^data-raw$ | ||
| ^doc$ | ||
| ^docs$ | ||
| ^man-roxygen$ | ||
| ^organisation.yml$ | ||
| ^pkgdown$ | ||
| ^\.vscode$ | ||
| ^BGmisc_main\.code-workspace$ | ||
| ^revdep$ | ||
| ^test-clean\.X | ||
| ^vignettes/articles$ | ||
| ^.claude$ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| on: | ||
| push: | ||
| branches-ignore: | ||
| - main | ||
| - master | ||
| - ghpages | ||
|
|
||
| name: "check package with checklist" | ||
|
|
||
| jobs: | ||
| check-package: | ||
| runs-on: ubuntu-latest | ||
| name: "check package" | ||
| env: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: inbo/actions/check_pkg@main | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| - master | ||
|
|
||
| name: R-CMD-check-OS | ||
|
|
||
| jobs: | ||
| R-CMD-check: | ||
| runs-on: ${{ matrix.config.os }} | ||
|
|
||
| name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| config: | ||
| - {os: macOS-latest, r: 'release'} | ||
| - {os: windows-latest, r: 'release'} | ||
| - {os: ubuntu-24.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/noble/latest"} | ||
| - {os: ubuntu-24.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/noble/latest"} | ||
|
|
||
| env: | ||
| R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | ||
| _R_CHECK_SYSTEM_CLOCK_: false | ||
| RSPM: ${{ matrix.config.rspm }} | ||
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - uses: r-lib/actions/setup-r@v2 | ||
| with: | ||
| r-version: ${{ matrix.config.r }} | ||
| extra-repositories: https://inbo.r-universe.dev | ||
|
|
||
| - uses: r-lib/actions/setup-pandoc@v2 | ||
|
|
||
| - uses: r-lib/actions/setup-r-dependencies@v2 | ||
| with: | ||
| extra-packages: any::rcmdcheck | ||
| needs: check | ||
|
|
||
| - uses: r-lib/actions/check-r-package@v2 | ||
| with: | ||
| error-on: '"error"' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - master | ||
| permissions: | ||
| contents: write | ||
|
|
||
| name: "check package on main with checklist" | ||
|
|
||
| jobs: | ||
| check-package: | ||
| runs-on: ubuntu-latest | ||
| name: "check package" | ||
| env: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| steps: | ||
| - uses: inbo/actions/check_pkg@main |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Releases | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - v* | ||
| workflow_run: | ||
| workflows: ["check package on main with checklist"] | ||
| types: | ||
| - completed | ||
|
Comment on lines
+3
to
+10
|
||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Get tag | ||
| run: | | ||
| git fetch --tags --force | ||
| TAG=$(git tag --contains $(git rev-parse HEAD)) | ||
| TAG_BODY=$(git tag --contains $(git rev-parse HEAD) --format='%(contents)') | ||
| echo "tag=$TAG" >> $GITHUB_ENV | ||
| echo "$TAG_BODY" > body.md | ||
| - uses: ncipollo/release-action@v1 | ||
| with: | ||
| name: Release ${{ env.tag }} | ||
| tag: ${{ env.tag }} | ||
| bodyFile: body.md | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,56 @@ | ||
| !source/**/_extensions/** | ||
| *.ASOIAF.ged | ||
| *.Rproj | ||
| *.[rR][dD]ata | ||
| *.[rR]ds | ||
| *.dbf | ||
| *.doc* | ||
| *.eps | ||
| *.gddoc | ||
| *.gdsheet | ||
| *.gpkg | ||
| *.html | ||
| *.knit.md | ||
| *.mdb | ||
| *.shp* | ||
| *.shx | ||
| *.sty | ||
| *.tex | ||
| *.xls* | ||
| *_cache | ||
| *_files | ||
| *_freeze | ||
| *_libs | ||
| .DS_Store | ||
| .RData | ||
| .Rdata | ||
| .Renviron | ||
| .Rhistory | ||
| .Rproj.user | ||
| .Ruserdata | ||
| .httr-oauth | ||
| .quarto | ||
| .vscode/launch.json | ||
| .vscode/settings.json | ||
| /.claude | ||
| /Meta/ | ||
| BGmisc.code-workspace | ||
| R/.Rhistory | ||
| benchmark_results.csv | ||
| data-raw/Landers-Wilson-Garrison Tree.ged | ||
| data-raw/logo_orange.png | ||
| dataRelatedPairs.csv | ||
| dataRelatedPairs_new2.csv | ||
| docs | ||
| libs | ||
| output | ||
| paper/paper.html | ||
| renv/library | ||
| revdep/ | ||
| tests/testthat/Rplots.pdf | ||
| vignettes/articles/paper.html | ||
| .vscode/settings.json | ||
| data-raw/logo_orange.png | ||
| data-raw/Landers-Wilson-Garrison Tree.ged | ||
| vignettes/understanding_relatedness.Rmd | ||
| vignettes/rewritten_relatedness_vignette.Rmd | ||
| vignettes/understanding_relatedness.Xmd | ||
| vignettes/rewritten_relatedness_vignette.Xmd | ||
| revdep/ | ||
| vignettes/understanding_relatedness.Rmd | ||
| vignettes/understanding_relatedness.Xmd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow also references
inbo/actions/check_pkg@main(a moving branch). Pinning the action to a tag or commit SHA would make CI behavior reproducible and reduce supply-chain risk.