-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also, also added some comments and removed duplicate code
- Loading branch information
Showing
20 changed files
with
232 additions
and
371 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Run tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
run-tests-ce: | ||
if: | | ||
github.event_name == 'push' || | ||
github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != 'tarantool' | ||
strategy: | ||
matrix: | ||
tarantool-version: ["1.10", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7"] | ||
fail-fast: false | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Install requirements for community | ||
run: | | ||
curl -L https://tarantool.io/installer.sh | sudo VER=${{ matrix.tarantool-version }} bash | ||
sudo apt install -y tarantool-dev | ||
tarantool --version | ||
./deps.sh | ||
# This server starts and listen on 8084 port that is used for tests | ||
- name: Stop Mono server | ||
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true | ||
|
||
# - name: Run linter | ||
# run: .rocks/bin/luacheck . | ||
|
||
- name: Run luatest tests | ||
run: .rocks/bin/luatest -v | ||
|
||
- name: Run tap tests | ||
run: make test | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
# Call this script to install test dependencies | ||
|
||
set -e | ||
|
||
# Test dependencies: | ||
tarantoolctl rocks install luatest 0.5.0 | ||
tarantoolctl rocks install luacheck 0.25.0 | ||
|
||
tarantoolctl rocks install cartridge 2.5.1 |
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
Oops, something went wrong.