APPS-2628 Fill in license file template (#252) #392
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: Main Workflow | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
permissions: | |
contents: read | |
packages: read | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v2 | |
- name: Install Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Install & build | |
run: | | |
# compile antlr4 sources | |
cd ${GITHUB_WORKSPACE} | |
make | |
- name: Clone corpora | |
run: | | |
cd src/test/resources | |
./clone-corpora.sh | |
- name: Unit Tests | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SBT_OPTS: "-XX:+CMSClassUnloadingEnabled -Xmx4G -Xms1G" | |
run: | | |
sbt scalafmtCheckAll | |
sbt test |