Skip to content

Increment Sentence Transformers version to v2.5.1 #31

Increment Sentence Transformers version to v2.5.1

Increment Sentence Transformers version to v2.5.1 #31

# TODO: Merge this with allenNLP to have a single workflow for all docker images.
name: sentence-transformers-docker
on:
pull_request:
paths:
- "docker_images/sentence_transformers/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pytest pillow httpx
pip install -e .
- run: RUN_DOCKER_TESTS=1 pytest -sv tests/test_dockers.py::DockerImageTests::test_sentence_transformers