R version changed #8
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
name: CRGEM | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: '4.4.0' # The R version to download (if necessary) and use. | |
- run: Rscript -e 'print("hello")' | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
packages: | | |
any::Rcpp | |
any::gtools | |
any::RcisTarget | |
any::zoo | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.9" | |
- name: Test with pytest | |
run: | | |
bash test_setup.sh | |
CPATH=/usr/include LIBRARY_PATH=/usr/lib python -m pytest tests/unittest | |