Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ubco-cmps/data531_course
Browse files Browse the repository at this point in the history
  • Loading branch information
firasm committed Sep 8, 2021
2 parents 99b8768 + 7c1dbf6 commit 9679ad6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -14,14 +14,28 @@ jobs:
- uses: actions/checkout@v2

# Install dependencies
- name: Set up Python 3.7
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.9

- name: cache installation
uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}

- name: Install dependencies
run: |
pip install -r requirements.txt
- uses: actions/checkout@master
- uses: r-lib/actions/setup-r@v1
with:
r-version: '4.1' # The R version to download (if necessary) and use.
- run: Rscript -e "install.packages('IRkernel')"
- run: Rscript -e "IRkernel::installspec()"

# Build the book
- name: Build the book
run: |
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
@@ -1,3 +1,4 @@
jupyter
jupyter-book
matplotlib
numpy

0 comments on commit 9679ad6

Please sign in to comment.