Test SimpleGapRuleFlat #486
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: Test SimpleGapRuleFlat | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
schedule: | |
- cron: '0 8 * * *' | |
env: | |
LOGGING_DEFAULT_SHOW_PREFIX: true | |
LOGGING_DEFAULT_LOGGING_LEVEL: TRACE | |
LOGGING_DEFAULT_SHOW_FORMATTING: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Maven Action | |
uses: s4u/[email protected] | |
with: | |
java-version: 8 | |
maven-version: 3.8.6 | |
- uses: actions/checkout@v3 | |
- name: Download latest Airship | |
uses: FlatLang/fetch-airship@master | |
with: | |
includePrerelease: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Cache Maven dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.m2/repository | |
key: ${{ runner.os }}-build-${{ env.cache-name }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Build SimpleGapRule Test | |
run: | | |
node airship.js install test | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test.js | |
path: dist/js/test.js | |
- name: Run SimpleGapRule Test | |
run: | | |
node airship.js run test | |