updated package-lock.json #1525
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: Box CI Server | |
on: | |
[push, pull_request] | |
jobs: | |
pre_job: | |
# continue-on-error: true # Uncomment once integration is finished | |
runs-on: ubuntu-latest | |
# Map a step output to a job output | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@master | |
with: | |
# All of these options are optional, so you can remove them if you are happy with the defaults | |
skip_after_successful_duplicate: 'true' | |
paths_ignore: '["**/README.md", "**/docs/**"]' | |
test: | |
needs: pre_job | |
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | |
runs-on: ubuntu-latest | |
env: | |
# define Java options for both official sbt and sbt-extras | |
JAVA_OPTS: -Xms4G -Xmx4G -Xss10M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
JVM_OPTS: -Xms4G -Xmx4G -Xss10M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | |
NODE_OPTIONS: --max-old-space-size=2048 | |
SBT_NATIVE_CLIENT: true | |
DEV_SERVER: true | |
RUNNING_TEST: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Find tag | |
run: export BUILD_CODE=`git describe --tags` | |
- name: Setup testspace | |
uses: testspace-com/setup-testspace@v1 | |
with: | |
domain: Insubric | |
- name: Setup Scala | |
uses: coursier/setup-action@v1 | |
with: | |
jvm: adoptium:1.17 | |
- name: Run tests server | |
run: | | |
export PATH=./node_modules/.bin:$PATH | |
sbt codegen/clean | |
sbt server/clean | |
sbt client/clean | |
sbt server/slickTest | |
sbt -J-Xmx4G -J-XX:MaxMetaspaceSize=1G -J-Xss10m server/test | |
- name: Push server result to testspace | |
run: testspace server/target/test-reports/*.xml | |
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} |