Add example for AFTER crud operations option #789
Workflow file for this run
This file contains 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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Tests Community | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
tarantool-version: [ "1.x", "2.10.6"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache Maven packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Cache docker images | |
uses: satackey/[email protected] | |
continue-on-error: true | |
with: | |
key: ${{ runner.os }}-docker-layer-cache-${{ matrix.tarantool-version }} | |
restore-keys: | | |
${{ runner.os }}-docker-layer-cache- | |
- name: Build with Maven | |
run: mvn -B verify --file pom.xml | |
- name: Run integration tests | |
env: | |
TARANTOOL_VERSION: ${{ matrix.tarantool-version }} | |
TARANTOOL_SERVER_USER: root | |
TARANTOOL_SERVER_GROUP: root | |
run: mvn -B test -P integration --file pom.xml |