From 9d4d07757fc41c28a70d1df946812604a57d537d Mon Sep 17 00:00:00 2001 From: Jody Phelan Date: Fri, 29 Mar 2024 18:34:36 +0100 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 4cb1d52..e4d4009 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -18,17 +18,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up miniconda - run: | - wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh - bash Miniforge3-Linux-x86_64.sh -b - ~/miniforge3/condabin/conda init - source /home/runner/.bashrc - conda config --add channels defaults - conda config --add channels bioconda - conda config --add channels conda-forge - conda config --set channel_priority strict + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 + with: + python-version: 3.10 + mamba-version: "*" + channels: conda-forge,bioconda,defaults + channel-priority: true + - name: install dependancies run: | /home/runner/miniforge3/bin/mamba install tb-profiler -y