Skip to content

Commit

Permalink
ci: updated test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TimD1 committed Oct 14, 2024
1 parent 6c599ae commit 25a6d4c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: Test

on:
push:
Expand All @@ -7,13 +7,15 @@ on:
branches: [ "master", "dev" ]

jobs:
build:
Test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: install htslib
with:
ref: ${{ github.ref }}
- name: Install htslib
run: |
wget https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2
tar -xvf htslib-1.17.tar.bz2
Expand All @@ -23,16 +25,17 @@ jobs:
make install
echo LIBRARY_PATH=`pwd`:$LIBRARY_PATH >> $GITHUB_ENV
echo LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH >> $GITHUB_ENV
- name: make vcfdist
- name: Make vcfdist
run: |
cp -r htslib-1.17/htslib src
echo $LIBRARY_PATH
echo $LD_LIBRARY_PATH
cd src
make
./vcfdist -v
- name: test vcfdist
- name: Test vcfdist
run: |
sudo apt-get install -y libgtest-dev
cd tests
make
./test_vcfdist

0 comments on commit 25a6d4c

Please sign in to comment.