fix #190: Insert failed when tag has no attributes & thin the package #164
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: pull_request | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: | |
- master | |
- 'v[0-9]+.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache the Maven packages to speed up build | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-maven- | |
- name: Install nebula-graph | |
run: | | |
mkdir tmp | |
pushd tmp | |
git clone https://github.com/vesoft-inc/nebula-docker-compose.git | |
pushd nebula-docker-compose/ | |
cp ../../src/test/resources/docker-compose.yaml . | |
docker-compose up -d | |
sleep 30 | |
docker-compose ps | |
popd | |
popd | |
- name: Build with Maven | |
run: | | |
mvn -B install | |
cd ngbatis-demo | |
mvn -B compile | |
- uses: codecov/codecov-action@v2 | |
with: | |
version: "v0.1.15" |