Skip to content

Commited from within lively.next. #21

Commited from within lively.next.

Commited from within lively.next. #21

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: "test"
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Setup `node`
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
- name: Restore `lively.next` installation
id: cache-lively-with-build
uses: actions/cache/restore@v3
env:
cache-name: lively-repo-with-build
ref: 54d89c79a1893e764c13aa184391c37ded381cae
with:
path: .
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.ref }}
- name: Checkout `lively.next`
if: ${{ steps.cache-lively-with-build.outputs.cache-hit != 'true' }}
uses: actions/checkout@v3
with:
repository: LivelyKernel/lively.next
ref: 54d89c79a1893e764c13aa184391c37ded381cae
- name: Install `lively.next`
if: ${{ steps.cache-lively-with-build.outputs.cache-hit != 'true' }}
run: |
chmod a+x ./install.sh
./install.sh
- name: Save `lively` installation in cache
if: ${{ steps.cache-lively-with-build.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v3
env:
cache-name: lively-repo-with-build
ref: 54d89c79a1893e764c13aa184391c37ded381cae
with:
path: .
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.ref }}
- name: Checkout Project Repository
uses: actions/checkout@v3
with:
path: local_projects/LivelyKernel--froscon-2023
- name: Start `lively.next`
run: |
./start-server.sh > /dev/null 2>&1 &
# wait until server is guaranteed to be running
sleep 30
- name: Run CI Test Script
run: ./scripts/test.sh LivelyKernel--froscon-2023