Skip to content

Commit

Permalink
ci: remove tmp steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Oct 18, 2023
1 parent 283f4b7 commit 4e7cfff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
detached: true

- name: Install Dependencies
run: |
sudo apt-get update
Expand All @@ -31,12 +26,6 @@ jobs:
! (ldd $PWD/binaries/linux/samtools | grep 'not found')
! (ldd $PWD/binaries/linux/bcftools | grep 'not found')
# the check snippy step keeps erroring with /usr/bin/env: ‘perl’: Not a directory so check the perl installation
- name: Check perl installation
run: |
perl --version
which perl
- name: Check snippy versions and configurations
run: |
snippy --version
Expand Down
4 changes: 2 additions & 2 deletions bin/snippy
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ sub parse_version {
#msg("parse=[$blob]");
$blob =~ $re;
my $ver = defined $1 ? $1 : 0;
err("Need $cmd >= $min but you have $ver - please upgrade it. VER=$blob 1=$1")
err("Need $cmd >= $min but you have $ver - please upgrade it.")
if version->parse("v$ver") < version->parse("v$min");
msg("Checking version: $cmd is >= $min - ok, have $ver");
return $ver;
}
parse_version( 'samtools --version-only', '1.7', qr/(\d+\.\d+)/ms );
parse_version( 'samtools --version', '1.7', qr/samtools\s(\d+\.\d+)/ms );
parse_version( 'bcftools --version', '1.7', qr/bcftools\s(\d+\.\d+)/ms );
parse_version( 'freebayes --version', '1.1', qr/\sv(\d+\.\d+.\d+)/ms );
parse_version( 'snpEff -version', '4.3', qr/(\d+\.\d+)/ms );
Expand Down

0 comments on commit 4e7cfff

Please sign in to comment.