-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GHA versions; minor formatting of GHA
- Loading branch information
Showing
3 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
name: canvas-upload | ||
name: Canvas upload | ||
|
||
on: | ||
workflow_dispatch: | ||
branches: | ||
- main | ||
- devel | ||
push: | ||
paths: | ||
- 'pages/tools-for-reproducible-research.md' | ||
- 'pages/upload-page-to-canvas.sh' | ||
branches: | ||
- main | ||
- devel | ||
paths: | ||
- 'pages/tools-for-reproducible-research.md' | ||
- 'pages/upload-page-to-canvas.sh' | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
container: pandoc/latex | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Upload pages | ||
env: | ||
API_TOKEN: ${{ secrets.CANVAS_API_TOKEN }} | ||
run: | | ||
bash pages/upload-page-to-canvas.sh pages/tools-for-reproducible-research.md $API_TOKEN | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Upload landing page to Canvas | ||
env: | ||
API_TOKEN: ${{ secrets.CANVAS_API_TOKEN }} | ||
run: | | ||
bash pages/upload-page-to-canvas.sh pages/tools-for-reproducible-research.md $API_TOKEN |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,14 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
- devel | ||
|
||
jobs: | ||
install: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ macos-latest, ubuntu-latest ] | ||
os: [macos-latest, ubuntu-latest] | ||
env: [snakemake, nextflow, jupyter, quarto] | ||
include: | ||
- env: snakemake | ||
|
@@ -26,16 +27,18 @@ jobs: | |
- env: quarto | ||
cmd: mamba install -c conda-forge quarto && mamba install -c conda-forge deno && export QUARTO_DENO=$(which deno) && quarto render tutorials/quarto/quarto-tutorial-example.qmd --to html | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: conda-incubator/[email protected] | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Conda setup | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniforge-variant: Mambaforge | ||
miniforge-version: latest | ||
activate-environment: ${{ matrix.env }}-env | ||
environment-file: tutorials/${{ matrix.env }}/environment.yml | ||
use-mamba: true | ||
channel-priority: strict | ||
- name: Test ${{ matrix.env }} | ||
|
||
- name: Test ${{ matrix.env }} Conda environment | ||
shell: bash -l {0} | ||
run: | | ||
conda list | ||
|