Increment Sentence Transformers version to v2.5.1 #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |