From d0e95791e9b36a92570224cee6c402db7f462a78 Mon Sep 17 00:00:00 2001 From: Espen Hagen <2492641+espenhgn@users.noreply.github.com> Date: Sun, 22 Sep 2024 10:38:18 +0200 Subject: [PATCH] change workspace --- .github/workflows/container_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container_build.yml b/.github/workflows/container_build.yml index fb04c56..505bc47 100644 --- a/.github/workflows/container_build.yml +++ b/.github/workflows/container_build.yml @@ -54,11 +54,11 @@ jobs: tags: ${{ env.TEST_TAG }} file: ./dockerfiles/container_template/Dockerfile + - name: Run unit tests run: | - docker run --rm ${{ env.TEST_TAG }} - echo "${PWD} $( ls -l )" - docker run --rm -v .:/home ${{ env.TEST_TAG }} py.test -v tests + docker run --rm ${{ env.TEST_TAG }} python --version + docker run --rm -v ${{ github.workspace }}:/home ${{ env.TEST_TAG }} py.test -v tests - name: Build uses: docker/build-push-action@v6