github actions
This commit is contained in:
parent
a54ae10fb7
commit
2b0155c847
14
.github/workflows/integration-test.yml
vendored
Normal file
14
.github/workflows/integration-test.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: integration-test
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: integration-test
|
||||
run: ./integration-test.sh
|
17
.github/workflows/unit-test.yml
vendored
Normal file
17
.github/workflows/unit-test.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: unit-test
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: apt
|
||||
run: sudo apt-get install -y luarocks
|
||||
|
||||
- name: lua exec
|
||||
run: lua test.lua
|
31
.travis.yml
31
.travis.yml
@ -1,31 +0,0 @@
|
||||
jobs:
|
||||
include:
|
||||
- stage: luacheck
|
||||
language: generic
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- luarocks
|
||||
before_install:
|
||||
- luarocks install --local luacheck
|
||||
script:
|
||||
- $HOME/.luarocks/bin/luacheck --no-color .
|
||||
|
||||
- stage: unit test
|
||||
language: generic
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- luarocks
|
||||
script:
|
||||
- lua test.lua
|
||||
|
||||
|
||||
- stage: integration test
|
||||
language: generic
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- ./integration-test.sh
|
Loading…
x
Reference in New Issue
Block a user