From fee98e55da2885f7f27651da412dfbd2fc3c23e9 Mon Sep 17 00:00:00 2001 From: Georges Toth Date: Sun, 3 Nov 2024 22:25:50 +0100 Subject: [PATCH] revert workflow --- .github/workflows/test_lint.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_lint.yml b/.github/workflows/test_lint.yml index 196e936..c81231d 100644 --- a/.github/workflows/test_lint.yml +++ b/.github/workflows/test_lint.yml @@ -12,16 +12,6 @@ jobs: tests: runs-on: ubuntu-latest - services: - openhab: - image: openhab/openhab:latest - env: - OPENHAB_HTTP_PORT: 8080 - ports: - - 8080:8080 - volumes: - - ${{ github.workspace }}/docker/openhab_conf:/openhab/conf - strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] @@ -38,6 +28,8 @@ jobs: python3 -m pip install --upgrade pip python3 -m pip install --upgrade-strategy eager .[test] + docker run -d --name openhab -p 8080:8080 -e OPENHAB_HTTP_PORT=8080 -v ${{ github.workspace }}/docker/openhab_conf:/openhab/conf "openhab/openhab:latest" + python3 docker/test_connectivity.py docker exec -i openhab /openhab/runtime/bin/client -v -p habopen users add admin admin administrator || true