Skip to content

Commit

Permalink
Add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuboudreau committed May 25, 2024
1 parent 818e753 commit 74cd310
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/run-algos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ on:
required: true
type: string
jobs:
# Defining matrix for OS and Python
ultra_matrix_test:
name: Matrix Test of Python ${{ matrix.python-version }} on ${{ matrix.os }}

# Matrix driven OS
runs-on: ${{ matrix.os }}

# Default shell for ALL subsequent steps.
defaults:
run:
shell: bash -l {0}

# Defining matrix for OS and Python
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest"]
python-version: [ "3.8" ]
recon_and_evaluate:
if: ${{ inputs.algo_list != '[]' }}
runs-on: ${{ fromJSON(inputs.runner) }}
Expand All @@ -22,11 +40,13 @@ jobs:
run: |
shell: bash
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y git python3-pip
python3 -m pip install --upgrade pip

# Step 2: Install environment.
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{matrix.python-version}}

- name: Reconstruct and evaluate
env:
OSF_TOKEN: ${{ secrets.OSF_TOKEN }}
Expand Down

0 comments on commit 74cd310

Please sign in to comment.