-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (33 loc) · 834 Bytes
/
specs.yml
File metadata and controls
39 lines (33 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
arangodb:
image: arangodb/arangodb:latest
env:
ARANGO_ROOT_PASSWORD: password
ports:
- 8529:8529
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Copy database configuration
run: cp config/database.json.arangodb.sample config/database.json
- name: Wait for ArangoDB to be up
run: sleep 5
- name: Start Application
run: |
touch .env
sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/status'
BEANS_ENV=production ./luaonbeans.org -D . -s -d
sleep 1
- name: Run tests
run: ./luaonbeans.org -i beans.lua specs