Support Testcontainers framework in junit testings #15497
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
name: Checkstyle, Findbugs, Doc Check, SortPom, etc. | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '10.11.0' | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Cache local Go modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.mod') }} | |
- name: Execute license check, checkstyle, findbugs, sortpom | |
run: | | |
mkdir -p ~/.m2 | |
ALLUXIO_DOCKER_NO_TTY=true \ | |
ALLUXIO_DOCKER_GIT_CLEAN=true \ | |
ALLUXIO_CHECKSTYLE=true \ | |
dev/github/run_docker.sh | |
timeout-minutes: 60 | |
- name: Archive artifacts | |
continue-on-error: true | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: artifact | |
path: | | |
**/target/artifacts/* | |
**/target/logs/* | |
log* | |
retention-days: 7 |