Update tests_without_docker.yml

This commit is contained in:
Bert Blommers 2023-11-20 17:46:54 -01:00 committed by GitHub
parent fc99f79230
commit 54d78a9e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
# Or in other words: # Or in other words:
# Verify that all tests that require Docker have the @requires_docker decorator # Verify that all tests that require Docker have the @requires_docker decorator
name: Unit test Without Docker name: Unit tests without Docker
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
@ -35,7 +35,8 @@ jobs:
# Uninstalling the module enforces that all tests are indeed skipped # Uninstalling the module enforces that all tests are indeed skipped
- name: Uninstall Docker - name: Uninstall Docker
run: | run: |
pip uninstall docker -y sudo systemctl stop docker
sudo systemctl stop docker.socket
- name: Test with pytest - name: Test with pytest
env: env:
TESTS_SKIP_REQUIRES_DOCKER: true TESTS_SKIP_REQUIRES_DOCKER: true