Skip to content

Update inference widget from adapter-transformers to Adapters #22

Update inference widget from adapter-transformers to Adapters

Update inference widget from adapter-transformers to Adapters #22

name: adapter-transformers-docker
on:
pull_request:
paths:
- "docker_images/adapter_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_adapter_transformers