Skip to content
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

[WIP] Run cran setup to check time; DON'T MERGE #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 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,14 @@ 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: |
sudo apt-get install -y libglpk40
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')