-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add simple CI based on GitHub actions
- Delete old .travis.yml file - Add new .github/workflow/precommit_testing.yml Part of tarantool/tarantool#4972 Part of #272 Closes #293
- Loading branch information
Showing
2 changed files
with
49 additions
and
174 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,49 @@ | ||
name: fast_testing | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
linux: | ||
# We want to run on external PRs, but not on our own internal | ||
# PRs as they'll be run by the push to the branch. | ||
# | ||
# The main trick is described here: | ||
# https://github.com/Dart-Code/Dart-Code/pull/2375 | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
tarantool: | ||
# TODO: Add 2.9 version after https://github.com/tarantool/vshard/issues/294 | ||
# is resolved. | ||
- '1.10' | ||
- '2.7' | ||
- '2.8' | ||
#- '2.9' | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install tarantool ${{ matrix.tarantool }} | ||
uses: tarantool/setup-tarantool@v1 | ||
with: | ||
tarantool-version: ${{ matrix.tarantool }} | ||
|
||
- name: Clone the module | ||
uses: actions/checkout@v2 | ||
with: | ||
# Fetch the entire history for all branches and tags. It is needed for | ||
# upgrade testing. | ||
fetch-depth: 0 | ||
# Enable recursive submodules checkout as test-run git module is used | ||
# for running tests. | ||
submodules: recursive | ||
|
||
- name: Install test requirements | ||
run: pip3 install --user -r test-run/requirements.txt | ||
|
||
- run: cmake . | ||
- run: make test |
This file was deleted.
Oops, something went wrong.