Skip to content

Commit bbf0eee

Browse files
committed
Replace Travis CI with GH Actions
- Added workflow for GH Actions with building and testing - Removed Jenkinsfile, Travis CI config and old scripts for running testing There are also tests that run with target 'make test-memcached-capable' and memtier benchmark, but both blocked by [1] and [2]. 1. #80 2. #81 Part of #75
1 parent 617478d commit bbf0eee

File tree

5 files changed

+45
-230
lines changed

5 files changed

+45
-230
lines changed

.github/workflows/testing.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Testing
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
testing:
9+
if: |
10+
github.event_name == 'push' ||
11+
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
12+
strategy:
13+
matrix:
14+
tarantool-version: ['1.10', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '2.8']
15+
fail-fast: false
16+
runs-on: [ubuntu-latest]
17+
steps:
18+
- name: Clone the repository
19+
uses: actions/checkout@v2
20+
with:
21+
repository: ${{ github.repository_owner }}/memcached
22+
# Enable recursive submodules checkout as test-run git module is used
23+
# for running tests.
24+
submodules: recursive
25+
26+
- name: Setup Tarantool
27+
uses: tarantool/setup-tarantool@v1
28+
with:
29+
tarantool-version: ${{ matrix.tarantool-version }}
30+
31+
- name: Install build requirements
32+
run: sudo apt-get -y install libsasl2-dev
33+
34+
- run: cmake .
35+
36+
- name: Setup Python 2 for tests
37+
uses: actions/setup-python@v2
38+
with:
39+
python-version: 2.7
40+
41+
- name: Install test requirements
42+
run: pip install -r test-run/requirements.txt
43+
44+
- run: make test-memcached
45+
#- run: make test-memcached-capable

.travis.yml

Lines changed: 0 additions & 169 deletions
This file was deleted.

Jenkinsfile

Lines changed: 0 additions & 8 deletions
This file was deleted.

test.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

travis/install-tarantool.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)