From 2a3d405a12221cf2fec963d90b8d89bf0cd29ddc Mon Sep 17 00:00:00 2001 From: stephanbreimann Date: Thu, 27 Jun 2024 19:55:06 +0200 Subject: [PATCH] Update cd-hit and mmseq installation18 --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56473829..27072894 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,6 +63,7 @@ jobs: sudo apt-get install -y cd-hit mmseqs2 - name: Set up WSL and compile cd-hit + if: runner.os == 'Windows' shell: bash run: | sudo apt update @@ -74,6 +75,7 @@ jobs: sudo cp cd-hit /usr/local/bin/ - name: Install mmseqs2 (Windows) + if: runner.os == 'Windows' shell: pwsh run: | curl -L -o mmseqs2.zip https://mmseqs.com/latest/mmseqs-win64.zip @@ -88,6 +90,7 @@ jobs: Get-ChildItem $mmseqsBinPath - name: Verify cd-hit installation (WSL) + if: runner.os == 'Windows' shell: bash run: | if ! command -v cd-hit &> /dev/null @@ -98,6 +101,7 @@ jobs: cd-hit --version - name: Verify mmseqs2 installation + if: runner.os == 'Windows' shell: pwsh run: | $mmseqsBinPath = "$Env:USERPROFILE\mmseqs\mmseqs-win64" @@ -111,7 +115,6 @@ jobs: mmseqs --version } - - name: Run Tests run: pytest tests env: