File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ # TODO: Merge this with allenNLP to have a single workflow for all docker images.
2+ name : sentence-transformers-docker
3+
4+ on :
5+ pull_request :
6+ paths :
7+ - " api-inference-community/docker_images/sentence_transformers/**"
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Set up Python ${{ matrix.python-version }}
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : " 3.8"
16+ - name : Checkout
17+ uses : actions/checkout@v2
18+ - name : Set up QEMU
19+ uses : docker/setup-qemu-action@v1
20+ - name : Set up Docker Buildx
21+ uses : docker/setup-buildx-action@v1
22+ - name : Install dependencies
23+ working-directory : api-inference-community
24+ run : |
25+ pip install --upgrade pip
26+ pip install pytest pillow httpx
27+ pip install -e .
28+ - run : RUN_DOCKER_TESTS=1 pytest -sv tests/test_dockers.py::DockerImageTests::test_sentence_transformers
29+ working-directory : api-inference-community
Original file line number Diff line number Diff line change 11starlette == 0.14.2
22api-inference-community == 0.0.19
3- sentence-transformers == 2.0
3+ sentence-transformers == 2.1. 0
44protobuf == 3.17.1
You can’t perform that action at this time.
0 commit comments