Skip to content

Commit 82923e6

Browse files
committed
ci: installation, caching and running luatest
PHONY added to Makefile as makefile target and luatests folder are the same.
1 parent fdfde8b commit 82923e6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/fast_testing.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,17 @@ jobs:
3535
- name: Clone the module
3636
uses: actions/checkout@v2
3737

38-
- run: make test
38+
- name: Cache rocks
39+
uses: actions/cache@v2
40+
id: cache-rocks
41+
with:
42+
path: .rocks/
43+
key: cache-rocks-${{ matrix.tarantool }}-01
44+
45+
- name: Install requirements
46+
run: |
47+
tarantoolctl rocks install luatest 0.5.0
48+
if: steps.cache-rocks.outputs.cache-hit != 'true'
49+
50+
- name: Run tests
51+
run: make test

0 commit comments

Comments
 (0)