Skip to content

Commit

Permalink
Use GENOMICSDB_TAG to test with a version compatible GenomicsDB for s…
Browse files Browse the repository at this point in the history
…moke testing with TestGenomicsDBJar (#282)

* React to changes from GenomicsDB/TestGenomicsDBJar#6

* Revert to using test_genomicsdbjar.sh

* Add a compatibility test with the minimum version that passed the compatiblity test

* Use the master branch for TestGenomicsDBJar
  • Loading branch information
nalinigans committed Apr 13, 2023
1 parent f65d859 commit ed40e6c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
uses: actions/checkout@v3
with:
repository: GenomicsDB/TestGenomicsDBJar
ref: ml_genomicsdb_release
ref: master

- name: Set version number
run: |
echo VERSION_NUMBER=${GITHUB_REF_NAME:1} >> $GITHUB_ENV
echo GENOMICSDB_VERSION=${GITHUB_REF_NAME:1} >> $GITHUB_ENV
echo GENOMICSDB_MIN_TAG=v1.5.0-SNAPSHOT >> $GITHUB_ENV
- uses: actions/setup-java@v3
with:
Expand All @@ -44,11 +45,15 @@ jobs:
- name: Run smoke test
shell: bash
run: |
rm -f libtiledbgenomicsdb.*
mvn install:install-file -Dfile=genomicsdb-${VERSION_NUMBER}.jar \
-DgroupId=org.genomicsdb -DartifactId=genomicsdb -Dversion=${VERSION_NUMBER} \
-Dpackaging=jar -DpomFile=genomicsdb-${VERSION_NUMBER}.pom
./test_genomicsdbjar.sh
GENOMICSDB_TAG=${GITHUB_REF_NAME} ./test_genomicsdbjar.sh
- name: Run compatibility test
shell: bash
run: GENOMICSDB_TAG=${GENOMICSDB_MIN_TAG} ./test_genomicsdbjar.sh

#
# - name: Checkout GATK
# uses: actions/checkout@v3
Expand Down

0 comments on commit ed40e6c

Please sign in to comment.