File: release_test.yml

package info (click to toggle)
genomicsdb 1.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,788 kB
  • sloc: cpp: 78,988; ansic: 58,119; java: 8,531; python: 2,270; sh: 1,850; perl: 1,621; makefile: 490; xml: 455
file content (63 lines) | stat: -rw-r--r-- 1,666 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Test release jar

on:
  workflow_call:
    inputs:
      release_artifact:
        required: true
        type: string

jobs:
  test-jar:
    strategy:
      fail-fast: true
      matrix:
        os: [ubuntu-latest,macos-11]

    runs-on: ${{matrix.os}}
    permissions:
      contents: read
      packages: write

    steps:
      - name: Checkout TestGenomicsDBJar
        uses: actions/checkout@v3
        with:
          repository: GenomicsDB/TestGenomicsDBJar
          ref: ml_genomicsdb_release

      - name: Set version number
        run: |
          echo VERSION_NUMBER=${GITHUB_REF_NAME:1} >> $GITHUB_ENV
          echo GENOMICSDB_VERSION=${GITHUB_REF_NAME:1} >> $GITHUB_ENV

      - uses: actions/setup-java@v3
        with:
          distribution: 'temurin'
          java-version: '11'
  
      - name: Download release artifacts
        uses: actions/download-artifact@v3
        with:
          name: ${{ inputs.release_artifact }}

      - 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

      - name: Checkout GATK
        uses: actions/checkout@v3
        with:
          repository: broadinstitute/gatk
          lfs: 'true'

      - name: Try GATK integration test
        shell: bash
        run: |
          ./gradlew installDist -Dgenomicsdb.version=${VERSION_NUMBER}
          ./gradlew test --tests *GenomicsDB*