Skip to content

New CI with extracted common setup workflow, with a new CI with verification #90

New CI with extracted common setup workflow, with a new CI with verification

New CI with extracted common setup workflow, with a new CI with verification #90

Workflow file for this run

name: Bolts CI
on:
pull_request:
push:
branches:
- main
env:
# define Java options for both official sbt and sbt-extras
JAVA_OPTS: -Dsbt.io.implicit.relative.glob.conversion=allow -Xss512M -Xms1024M -Xmx12G -XX:MaxMetaspaceSize=2G -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=768M
JVM_OPTS: -Dsbt.io.implicit.relative.glob.conversion=allow -Xss512M -Xms1024M -Xmx12G -XX:MaxMetaspaceSize=2G -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=768M
JAVA_OPTS_TMP_DIR: /tmp/tmp_${{ github.run_id }}_${{ github.run_attempt }}
jobs:
tests:
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/workflows/setup
with:
java-opts: ${{ env.JAVA_OPTS }}
java-version: 17
temp-dir: "/tmp/tmp_${{ github.run_id }}_${{ github.run_attempt }}"
- name: Bolts Tests
run: ./run-tests.sh --admit-vcs
fail_if_pull_request_is_draft:
if: github.event.pull_request.draft == true
runs-on: [self-hosted, linux]
steps:
- name: Fails in order to indicate that pull request needs to be marked as ready to review and tests workflows need to pass.
run: exit 1