docs(README): add link to forumns #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: busted | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: luk3yx/minetest-formspec_ast | |
path: formspec_ast | |
- uses: actions/checkout@v3 | |
with: | |
repository: luk3yx/minetest-flow | |
path: flow | |
- uses: actions/checkout@v3 | |
with: | |
path: flow-extras | |
- uses: leafo/gh-actions-lua@v9 | |
- uses: leafo/gh-actions-luarocks@v4 | |
- name: setup deps | |
run: | | |
luarocks install busted | |
luarocks install luacov | |
luarocks install luacov-multiple | |
luarocks install luacov-coveralls | |
- name: run tests | |
run: | | |
pushd flow-extras | |
busted -c -v | |
popd | |
- name: send coverage | |
if: success() | |
continue-on-error: true | |
run: | | |
pushd flow-extras | |
luacov-coveralls -r $PWD -i "^init" -i "^tools" -i "^widgets" | |
# Keep above in sync with ./run-tests | |
popd | |
env: | |
COVERALLS_REPO_TOKEN: ${{ github.token }} |