protocol5: more parsing tests #81
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: tests and coverage | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repository code | |
uses: actions/checkout@v4 | |
- name: run luacheck | |
run: sudo apt-get install -y lua-check && cd "${{ github.workspace }}" && ./tests/run-luacheck.sh -q | |
- run: pip install hererocks | |
- name: run tests and collect code coverage | |
run: cd "${{ github.workspace }}" && COVERAGE=1 ./tests/run-for-all-lua-versions.sh download | |
- name: send code coverage | |
run: cd "${{ github.workspace }}" && source "local/hererocks/v-l5.1/bin/activate" && luacov-coveralls -v | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: test openwrt package build script | |
run: cd "${{ github.workspace }}" && ./openwrt/make-package-without-openwrt-sources.sh |