driver: make luaL_pushnull() non-static #51
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: fast_testing | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- 'master' | |
tags: | |
- '*' | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
tarantool: | |
- '1.10' | |
- '2.8' | |
- '2.10' | |
env: | |
MYSQL_HOST: 127.0.0.1 | |
MYSQL_PORT: 3306 | |
MYSQL_USER: tarantool | |
MYSQL_DATABASE: tarantool_mysql_test | |
steps: | |
- name: Clone the module | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup tarantool ${{ matrix.tarantool }} | |
uses: tarantool/setup-tarantool@v1 | |
with: | |
tarantool-version: ${{ matrix.tarantool }} | |
- name: Restart mysql service | |
run: | | |
sudo systemctl restart mysql | |
- name: Prepare test environment | |
run: | | |
sudo mysql -proot -e "CREATE USER ${MYSQL_USER}@${MYSQL_HOST};" | |
sudo mysql -proot -e "GRANT ALL PRIVILEGES ON *.* \ | |
TO ${MYSQL_USER}@${MYSQL_HOST};" | |
sudo mysql -proot -e "ALTER USER ${MYSQL_USER}@${MYSQL_HOST} \ | |
IDENTIFIED WITH mysql_native_password BY '';" | |
sudo mysql -proot -e "CREATE DATABASE ${MYSQL_DATABASE};" | |
- run: cmake . && make | |
- run: make check | |
env: | |
MYSQL: '${{ env.MYSQL_HOST }}:${{ env.MYSQL_PORT }}:${{ | |
env.MYSQL_USER }}::${{ env.MYSQL_DATABASE }}' |