Skip to content

Bump testcontainers.version from 1.20.2 to 1.20.3 (#544) #445

Bump testcontainers.version from 1.20.2 to 1.20.3 (#544)

Bump testcontainers.version from 1.20.2 to 1.20.3 (#544) #445

Workflow file for this run

name: native-tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install TCL
run: sudo apt-get install -y tcl-tls
- name: Install wait4x
run: |
curl -#LO https://github.com/atkrad/wait4x/releases/latest/download/wait4x-linux-amd64.tar.gz
tar --one-top-level -xvf wait4x-linux-amd64.tar.gz
cp ./wait4x-linux-amd64/wait4x /usr/local/bin/wait4x
- name: checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Cache Maven
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Fast build and install JedisMock
run: mvn -B install -Dmaven.javadoc.skip -DskipTests -Dspotbugs.skip -Dcheckstyle.skip -Dpmd.skip -Dcpd.skip
- name: Evaluate current JedisMock version
run: |
echo jm_version=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout ) >> $GITHUB_ENV
cat $GITHUB_ENV
- name: Build jm-test-server
run: mvn -B verify -Djedismock.version=${{ env.jm_version }}
working-directory: native_tests/jm-test-server
- name: Prepare TCL test run
run: |
sudo chmod +x ./gen-test-certs.sh
sudo chmod +x ./runtest
./gen-test-certs.sh
working-directory: native_tests/linux
- name: chmod
run: chmod +x native_tests/testnative
- name: incr
run: ./testnative unit/type/incr
working-directory: native_tests
- name: hash
if: always()
run: ./testnative unit/type/hash
working-directory: native_tests
- name: list
if: always()
run: ./testnative unit/type/list-2 unit/type/list unit/type/list-3
working-directory: native_tests
- name: set
if: always()
run: ./testnative unit/type/set
working-directory: native_tests
- name: zset
if: always()
run: ./testnative unit/type/zset
working-directory: native_tests
- name: stream
if: always()
run: ./testnative unit/type/stream
working-directory: native_tests
- name: keyspace
if: always()
run: ./testnative unit/keyspace
working-directory: native_tests
- name: expire
if: always()
run: ./testnative unit/expire
working-directory: native_tests