Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

lvjing2 pushed arklet code #61

lvjing2 pushed arklet code

lvjing2 pushed arklet code #61

name: Arklet Unit Test
run-name: ${{ github.actor }} pushed arklet code
on:
push:
branches:
- master
paths:
- 'arklet/**'
pull_request:
branches:
- master
paths:
- 'arklet/**'
# enable manually running the workflow
workflow_dispatch:
env:
WORK_DIR: arklet
defaults:
run:
working-directory: arklet
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 8
cache: maven
- name: Test
run: mvn clean install -DskipTests -Dmaven.javadoc.skip=true -B -U
&& sh ./check_format.sh
&& mvn test
- name: Codecov
uses: codecov/codecov-action@v1
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Test
run: mvn clean install -DskipTests -Dmaven.javadoc.skip=true -B -U
&& sh ./check_format.sh
&& mvn test