From f994bb38b56797d0d2d70ec9233a1afe74d5fbb4 Mon Sep 17 00:00:00 2001 From: "Marshall, James C 459937851" Date: Mon, 23 Sep 2024 14:35:17 -0400 Subject: [PATCH] Try with miniforge install step --- .github/workflows/lint.yml | 7 ++++++- .github/workflows/unit-test.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5a7af5e..578be39 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index d238efd..b5a5be3 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -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: |