tmp #2441
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 uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: PreCommit | |
on: [push, pull_request] | |
jobs: | |
container-test-job: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/opensource4you/astraea/deps | |
options: --cpus 2 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: build | |
run: ./gradlew clean build testClasses -x test --no-daemon | |
- name: unit tests | |
run: ./gradlew clean test --no-daemon --console plain -PmaxParallelForks=3 --continue |