Repository navigation
ci(release): install luasocket+luasec for the upload API's in-process… #5
This file contains hidden or 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: test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # LuaJIT implements the Lua 5.1 language (covered below); its luarocks | |
| # manifest loading trips the LuaJIT 65536-constant limit in CI, so it is | |
| # excluded here. The client is written to be 5.1-compatible. | |
| luaVersion: ["5.1", "5.3", "5.4"] | |
| steps: | |
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| - uses: leafo/gh-actions-lua@35bcb06abec04ec87df82e08caa84d545348536e # v10 | |
| with: | |
| luaVersion: ${{ matrix.luaVersion }} | |
| - uses: leafo/gh-actions-luarocks@e65774a6386cb4f24e293dca7fc4ff89165b64c5 # v4 | |
| - name: Install test dependencies | |
| run: | | |
| luarocks install busted | |
| luarocks install dkjson | |
| - name: Mock test suite | |
| run: busted --verbose | |
| - name: Live suite self-skips without a key | |
| run: busted --run=live --verbose |