We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0dc04 commit ce6ad92Copy full SHA for ce6ad92
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,25 @@
1
+name: R package tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - uses: r-lib/actions/setup-r@v2
15
+ - name: Install dependencies
16
+ run: |
17
+ install.packages(c("remotes", "testthat"))
18
+ remotes::install_deps("DescriptiveRepresentationCalculator", dependencies = TRUE)
19
+ shell: Rscript {0}
20
+ - name: Install package
21
+ run: R CMD INSTALL DescriptiveRepresentationCalculator
22
+ - name: Run unit tests
23
24
+ R -q -e 'testthat::test_dir("DescriptiveRepresentationCalculator/tests/testthat")'
25
0 commit comments