Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Sep 26, 2024
1 parent 5dbd8b9 commit 8bb566f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Run tests
shell: bash
run: |
pytest -m docker_runner
pytest -m docker_runner -rs
# if [ "${{ matrix.test-type }}" == "unittests" ]; then
# pytest test/unittests --durations=20 -n 4 -rs
# elif [ "${{ matrix.test-type }}" == "integration" ]; then
Expand Down
12 changes: 6 additions & 6 deletions test/functional/command/runner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ def docker_skip(test_image=None):
docker_client = docker.DockerClient(base_url=f'unix://{os.path.expanduser("~")}/.rd/docker.sock', version='auto') # Rancher
if test_image:
docker_client.images.pull(test_image)
except docker.errors.DockerException:
return True
except docker.errors.ImageNotFound:
return True
except docker.errors.APIError:
return True
except docker.errors.DockerException as e:
raise e
except docker.errors.ImageNotFound as e:
raise e
except docker.errors.APIError as e:
raise e
return False


Expand Down

0 comments on commit 8bb566f

Please sign in to comment.