From 92abfb3d733efca221428b1c2b49ced06f50addd Mon Sep 17 00:00:00 2001 From: Insality Date: Fri, 16 Oct 2020 10:34:01 +0300 Subject: [PATCH] Add github actions --- .github/workflows/ci-workflow.yml | 20 ++++++++++++++++++++ unit_test.txt | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/ci-workflow.yml create mode 100644 unit_test.txt diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml new file mode 100644 index 0000000..3c75872 --- /dev/null +++ b/.github/workflows/ci-workflow.yml @@ -0,0 +1,20 @@ +name: Run tests + +on: [push] + +jobs: + build_and_run: + name: Build and run tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + lfs: true + - uses: actions/setup-java@v1 + with: + java-version: '13' + + - name: Build && Run + run: | + deployer_url="https://raw.githubusercontent.com/Insality/defold-deployer/1/deployer.sh" + curl -s ${deployer_url} | bash -s lbd --headless --settings ./unit_test.txt \ No newline at end of file diff --git a/unit_test.txt b/unit_test.txt new file mode 100644 index 0000000..46b6168 --- /dev/null +++ b/unit_test.txt @@ -0,0 +1,9 @@ +[bootstrap] +main_collection = /example/kenney.collectionc + +[display] +height = 256 +width = 256 + +[test] +report = 1 \ No newline at end of file