Skip to content

Commit d373572

Browse files
ylobankovLeonidVas
authored andcommitted
github-ci: add reusable testing workflow
The idea of this workflow is to be a part of the 'integration.yml' workflow from the tarantool repo to verify the integration of the queue module with an arbitrary tarantool version. This workflow is not triggered on a push to the repo and cannot be run manually since it has only the 'workflow_call' trigger. This workflow will be included in the tarantool development cycle and called by the 'integration.yml' workflow from the tarantool project on a push to the master and release branches for verifying integration of tarantool with queue. Part of tarantool/tarantool#6559 Part of tarantool/tarantool#5265 Part of tarantool/tarantool#6056
1 parent 286ab7d commit d373572

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: reusable_testing
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
artifact_name:
7+
description: 'The name of the tarantool build artifact'
8+
default: ubuntu-focal
9+
required: false
10+
type: string
11+
12+
jobs:
13+
run_tests:
14+
runs-on: ubuntu-20.04
15+
steps:
16+
- name: 'Clone the queue module'
17+
uses: actions/checkout@v2
18+
with:
19+
repository: ${{ github.repository_owner }}/queue
20+
21+
- name: 'Download the tarantool build artifact'
22+
uses: actions/download-artifact@v2
23+
with:
24+
name: ${{ inputs.artifact_name }}
25+
26+
- name: 'Install tarantool'
27+
# Now we're lucky: all dependencies are already installed. Check package
28+
# dependencies when migrating to other OS version.
29+
run: sudo dpkg -i tarantool*.deb
30+
31+
- run: cmake . && make check

0 commit comments

Comments
 (0)