Tests: give test directory when creating container, not when running test.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Tue, 17 May 2022 08:25:09 +0200
changeset 3461 fb8c2fa0d8f0
parent 3460 d3c95ae44750
child 3462 1e0127bde0d7
Tests: give test directory when creating container, not when running test.
.github/workflows/run_tests_in_docker.yml
--- a/.github/workflows/run_tests_in_docker.yml	Tue May 17 07:27:24 2022 +0200
+++ b/.github/workflows/run_tests_in_docker.yml	Tue May 17 08:25:09 2022 +0200
@@ -47,13 +47,13 @@
     - name: Create docker container
       run: |
         cd beremiz/tests/tools/Docker/beremiz-sikuli
-        ./create_docker_container.sh
+        ./create_docker_container.sh ${{ github.workspace }}/test
         
     - name: Run tests in docker
       run: |
         mkdir ${{ github.workspace }}/test
         cd beremiz/tests/tools/Docker/beremiz-sikuli
-        ./build_in_docker.sh test_dir=${{ github.workspace }}/test
+        ./build_in_docker.sh
 
     - name: Collect test results
       run: |