Bump com.fasterxml.jackson.core:jackson-annotations from 2.5.4 to 2.20 #43
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Shock Java Client Tests | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| push: | |
| # run workflow when merging to main or develop | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| jobs: | |
| shock_java_client_tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - java: '8' | |
| mongo: 'mongodb-linux-x86_64-3.6.13' | |
| minio: '2019-05-23T00-29-34Z' | |
| - java: '11' | |
| mongo: 'mongodb-linux-x86_64-3.6.13' | |
| minio: '2019-05-23T00-29-34Z' | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up java | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{matrix.java}} | |
| - name: Install dependencies and set up test config | |
| shell: bash | |
| run: | | |
| export HOMEDIR=`pwd` | |
| # move to parent dir of homedir to install binaries etc | |
| cd .. | |
| # set up blobstore | |
| wget -q -O blobstore https://github.com/kbase/blobstore/releases/download/v0.1.2/blobstore_linux_amd64 | |
| chmod a+x blobstore | |
| export BLOBEXE=$(pwd)/blobstore | |
| # set up mongo | |
| wget -q http://fastdl.mongodb.org/linux/${{matrix.mongo}}.tgz | |
| tar xfz ${{matrix.mongo}}.tgz | |
| export MONGOD=`pwd`/${{matrix.mongo}}/bin/mongod | |
| # set up minio | |
| export MINIO=$HOMEDIR/test_dependencies/minio/${{matrix.minio}}/minio | |
| gunzip $MINIO.gz | |
| chmod a+x $MINIO | |
| # set up test config | |
| cd $HOMEDIR | |
| cp test.cfg.example test.cfg | |
| sed -i "s#^test.mongo.exe.*#test.mongo.exe=$MONGOD#" test.cfg | |
| sed -i "s#^test.blobstore.exe.*#test.blobstore.exe=$BLOBEXE#" test.cfg | |
| sed -i "s#^test.minio.exe.*#test.minio.exe=$MINIO#" test.cfg | |
| cat test.cfg | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| ./gradlew test | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: true |