From fcfede63cc9bb6f621b9fac119d996f969e25b21 Mon Sep 17 00:00:00 2001 From: Lukas Bommes Date: Fri, 25 Oct 2024 20:31:35 +0000 Subject: [PATCH] fix github workflow for unit tests --- .github/workflows/build_docker_and_run_unit_test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_docker_and_run_unit_test.yml b/.github/workflows/build_docker_and_run_unit_test.yml index aa847fd..95fe806 100644 --- a/.github/workflows/build_docker_and_run_unit_test.yml +++ b/.github/workflows/build_docker_and_run_unit_test.yml @@ -73,10 +73,10 @@ jobs: docker run \ -v ${{ github.workspace }}:/home/video_cap \ lubo1994/mv-extractor:dev \ - /bin/bash -c " \ - python${{ matrix.python }} -m pip install --upgrade pip \ - python${{ matrix.python }} -m pip install . \ - python${{ matrix.python }} tests/tests.py \ + /bin/bash -c " + python${{ matrix.python }} -m pip install --upgrade pip && \ + python${{ matrix.python }} -m pip install . && \ + python${{ matrix.python }} tests/tests.py " # TODO: if tests pass, push image to registry