Skip to content

Commit

Permalink
Run cran setup to check time
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwhite committed May 20, 2022
1 parent 6cc0317 commit ac29dfd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:

name: Build Check

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
_R_CHECK_FORCE_SUGGESTS_: true
RSPM: "https://packagemanager.rstudio.com/all/__linux__/focal/latest"

jobs:
build-check:
runs-on: ${{ matrix.config.os }}
Expand All @@ -25,9 +30,12 @@ jobs:
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- uses: r-lib/actions/setup-r@v1
- name: Install lxml using the binary wheel
run: |
pip --version
pip install --prefer-binary lxml
- name: Test package installation
run: python setup.py install
run: pip install .
- name: Test miniCRAN
run: python cran_test.py
3 changes: 3 additions & 0 deletions cran_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import offlinedatasci

offlinedatasci.find_call_minicran('crantest')

0 comments on commit ac29dfd

Please sign in to comment.