Skip to content

Implement distributed lock #141

Implement distributed lock

Implement distributed lock #141

Workflow file for this run

name: mvn_test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check_format:
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: Check code style
run: mvn clean compile
maven_test:
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: Package
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Run tests
run: mvn -B test
- name: Upload coverage to Codecov
run: curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov -t ${CODECOV_TOKEN}