From bf416b5471e81f76d00dc07a1f2511d40f21abac Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Thu, 7 Jan 2021 13:36:53 +0100 Subject: [PATCH] CI: Small refactor Set "shell: bash -l {0}" as a default instead of in every step --- .github/workflows/pangolin.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pangolin.yml b/.github/workflows/pangolin.yml index c27ad6d..6ef6bae 100644 --- a/.github/workflows/pangolin.yml +++ b/.github/workflows/pangolin.yml @@ -1,6 +1,8 @@ name: pangolin - on: [push, pull_request] +defaults: + run: + shell: bash -l {0} jobs: run_pangolin_test: @@ -18,12 +20,9 @@ jobs: channels: conda-forge,bioconda,defaults mamba-version: "*" - name: Install pangolin - shell: bash -l {0} run: pip install -e . - name: Check pangolin version - shell: bash -l {0} run: pangolin --version - name: Run pangolin with test data - shell: bash -l {0} run: pangolin pangolin/test/test_seqs.fasta 2>&1 | tee pangolin.log -# add more tests here \ No newline at end of file +# add more tests here