-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.12 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Unit and functional tests
on:
push:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install ".[test]"
- run: pytest -v tests/unit-tests
functional-test-qdrant:
runs-on: ubuntu-latest
services:
qdrant:
image: qdrant/qdrant
ports:
- 6333:6333
- 6334:6334
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install ".[test, qdrant]"
- run: pytest -v tests/functional-tests/test_qdrant.py
functional-test-weaviate:
runs-on: ubuntu-latest
services:
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:1.26.1
ports:
- 8080:8080
- 50051:50051
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install ".[test, weaviate]"
- run: pytest -v tests/functional-tests/test_weaviate.py