Skip to content

Commit

Permalink
Set up Python in main branch workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdamoses committed Mar 29, 2023
1 parent 5d516fc commit 2676fd1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pkgdown-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ jobs:
- name: Install github version of scater
run: remotes::install_github("Alanocallaghan/scater")
shell: Rscript {0}
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/vig2ipynb_requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install gget
run: |
python -m pip install gget
- name: Build site
run: pkgdown::build_site_github_pages(new_process = TRUE, install = FALSE)
shell: Rscript {0}
Expand Down

0 comments on commit 2676fd1

Please sign in to comment.