diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..a5c702d --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,26 @@ +name: test + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - + uses: actions/checkout@master + - + uses: leafo/gh-actions-lua@v10 + with: + luaVersion: "5.1.5" + - + uses: leafo/gh-actions-luarocks@v4 + - + run: | + luarocks install luacov + luarocks install luaunit + - + run: | + ./cli test-self --coverage + - run: | + bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 47871f8..8a1847b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # codename-videogame-engine + +[![codecov](https://codecov.io/github/RodrigoDornelles/codename-videogame-engine/graph/badge.svg?token=MM0TY7VVAT)](https://codecov.io/github/RodrigoDornelles/codename-videogame-engine) + A cross-platform embeddable LUA game engine such as ginga, love2d, roblox and its own console like a Wii clone. ### Love 2D