diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml new file mode 100644 index 0000000..1eeaa6a --- /dev/null +++ b/.github/workflows/integration-test.yml @@ -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 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml new file mode 100644 index 0000000..0f74e92 --- /dev/null +++ b/.github/workflows/unit-test.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2fb59d1..0000000 --- a/.travis.yml +++ /dev/null @@ -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