readme: update elle-cli version #292
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: Testing | |
on: | |
push: | |
pull_request: | |
jobs: | |
testing: | |
if: | | |
github.event_name == 'push' || | |
github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
matrix: | |
LUA: ['luajit', 'tarantool'] | |
fail-fast: false | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Tarantool | |
if: matrix.LUA == 'tarantool' | |
uses: tarantool/setup-tarantool@v1 | |
with: | |
tarantool-version: '2.10' | |
- name: Setup LuaJIT (${{ matrix.LUA }}) | |
if: matrix.LUA == 'luajit' | |
run: sudo apt install -y luajit | |
- name: Setup luarocks | |
run: sudo apt install -y luarocks | |
- name: Setup SQLite devepelopment package | |
run: sudo apt install -y sqlite3 libsqlite3-dev | |
- name: Setup dependencies | |
run: make deps | |
- run: echo $(luarocks path --lr-bin) >> $GITHUB_PATH | |
- name: Run tests with Tarantool and send coverage to Coveralls.io | |
if: matrix.LUA == 'tarantool' | |
run: make coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEV: ON | |
- name: Run tests with LuaJIT (${{ matrix.LUA }}) | |
if: matrix.LUA == 'luajit' | |
run: LUAJIT_BIN=luajit DEV=ON make test-luajit |