Skip to content

Commit

Permalink
Try with miniforge install step
Browse files Browse the repository at this point in the history
  • Loading branch information
the-other-james committed Sep 23, 2024
1 parent 616313e commit f994bb3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ jobs:
- name: Set up OnAIR conda environment
uses: conda-incubator/setup-miniconda@v3
with:
installer-url: https://github.com/conda-forge/miniforge/releases/download/4.8.3-2/Miniforge-pypy3-4.8.3-2-Linux-x86_64.sh
activate-environment: onair
environment-file: environment_dev.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- name: Install miniforge
run: |
curl -fsSL https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -o miniforge.sh
bash miniforge.sh -b -p $HOME/.miniforge
export PATH="$HOME/.miniforge/bin:$PATH"
- name: Lint Project
shell: bash -l {0}
run: pylint onair plugins test
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ jobs:
- name: Set up OnAIR test environment
uses: conda-incubator/setup-miniconda@v3
with:
installer-url: https://github.com/conda-forge/miniforge/releases/download/4.8.3-2/Miniforge-pypy3-4.8.3-2-Linux-x86_64.sh
activate-environment: onair
environment-file: environment_dev.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- name: Install miniforge
run: |
curl -fsSL https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -o miniforge.sh
bash miniforge.sh -b -p $HOME/.miniforge
export PATH="$HOME/.miniforge/bin:$PATH"
- name: Install dependencies
shell: bash -l {0}
run: |
Expand Down

0 comments on commit f994bb3

Please sign in to comment.