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: |