Skip to content

Commit

Permalink
Merge branch 'main' into shiny-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pneuvial authored Aug 21, 2024
2 parents cd1693f + ebb703a commit 07018d8
Show file tree
Hide file tree
Showing 10 changed files with 56,769 additions and 10 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/pr_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pr_check
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
types: [opened, reopened]
branches: [main, master]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel

Expand All @@ -16,7 +16,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Additional Packages
run: Rscript -e "install.packages(c('tictoc'))"
- name: Generate slides
run: "quarto render"
- name: Additional R packages
run: |
Rscript -e "install.packages(c('tictoc', 'nimble', 'ggmcmc', 'compareMCMCs', 'nimbleHMC', 'mvtnorm'))"
- name: Additional Python packages
run: |
pip install torch torch_geometric
pip install numpy==1.26.1
pip install scikit-learn scikit-network networkx matplotlib tqdm openpyxl pandas
- name: Render website
run: "quarto render"
12 changes: 9 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,18 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Additional Packages
run: Rscript -e "install.packages(c('tictoc'))"
- name: Additional R packages
run: |
Rscript -e "install.packages(c('tictoc', 'nimble', 'ggmcmc', 'compareMCMCs', 'nimbleHMC', 'mvtnorm'))"
- name: Additional Python packages
run: |
pip install torch torch_geometric
pip install numpy==1.26.1
pip install scikit-learn scikit-network networkx matplotlib tqdm openpyxl pandas
- name: Generate slides
run: "quarto render"
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_dir: ./_site
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ po/*~
rsconnect/

/.quarto/

# For niimble branch
_site/
*_files/
*_cache/
01_nimble.html
local_nimble*.R
Loading

0 comments on commit 07018d8

Please sign in to comment.