Make the delimiter optional in the encoder #25
Workflow file for this run
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
name: Run Tests and Code Coverage | |
on: | |
push: | |
branches: [ master ] | |
tags: [ '*.*.*' ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ] | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup ‘lua’ | |
uses: leafo/gh-actions-lua@v9 | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- name: Setup ‘luarocks’ | |
uses: leafo/gh-actions-luarocks@v4 | |
- name: install depedencies | |
run: | | |
luarocks install busted | |
luarocks install lua-cjson | |
luarocks install luacov | |
luarocks install luacov-coveralls | |
- name: run unit tests with coverage | |
run: busted --verbose --coverage | |
- name: Report test coverage | |
if: success() | |
continue-on-error: true | |
run: luacov-coveralls -e .luarocks | |
env: | |
COVERALLS_REPO_TOKEN: ${{ github.token }} |