diff --git a/.github/workflows/run-integrationTests-python.yaml b/.github/workflows/run-integrationTests-python.yaml index 95afebc..6c3c131 100644 --- a/.github/workflows/run-integrationTests-python.yaml +++ b/.github/workflows/run-integrationTests-python.yaml @@ -1,4 +1,4 @@ -name: test-template-spacesdk-client-python +name: test-template-spacefx-client-python on: workflow_call: inputs: @@ -21,7 +21,7 @@ on: jobs: build-and-test: - name: test-spacesdk-client-python-${{ inputs.WORKFLOW_AGENT }} + name: test-spacefx-client-python-${{ inputs.WORKFLOW_AGENT }} runs-on: ${{ inputs.WORKFLOW_AGENT }} permissions: contents: read @@ -86,7 +86,7 @@ jobs: docker exec ${DEV_CONTAINER_NAME} bash -c "dotnet build /workspace/${{ inputs.app_name }}/test/debugClient/debugClient.csproj" echo $? - - name: Run Integration Tests + - name: Deploy DebugShim shell: bash run: | [[ ! -f /var/spacedev/tmp/${{ inputs.app_name }}/container_info.json ]] && echo "container_info.json not found. Dev container start up failed" && exit 1 @@ -107,6 +107,10 @@ jobs: echo "Running: docker exec ${DEV_CONTAINER_NAME} bash -c \"/spacefx-dev/debugShim-deploy.sh --debug_shim ${{ inputs.app_name }} --python_file /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py --disable_plugin_configs --port 5678\"" docker exec ${DEV_CONTAINER_NAME} bash -c "/spacefx-dev/debugShim-deploy.sh --debug_shim ${{ inputs.app_name }} --python_file /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py --disable_plugin_configs --port 5678" & + - name: Run Integration Tests + shell: bash + run: | + echo "Executing integration tests..." echo "k3s kubectl exec -n payload-app deploy/${{ inputs.app_name }} -- bash -c \"python3 /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py\" &" ( # Reroute the stdout to a file so we can uniquely identify this run diff --git a/.github/workflows/test-spacesdk-client-python.yaml b/.github/workflows/test-spacefx-client-python.yaml similarity index 89% rename from .github/workflows/test-spacesdk-client-python.yaml rename to .github/workflows/test-spacefx-client-python.yaml index 27d8789..7d92e47 100644 --- a/.github/workflows/test-spacesdk-client-python.yaml +++ b/.github/workflows/test-spacefx-client-python.yaml @@ -1,4 +1,4 @@ -name: test-spacesdk-client-dotnet +name: test-spacefx-client-dotnet on: workflow_dispatch: push: @@ -6,7 +6,7 @@ on: branches: [ main ] jobs: - test-spacesdk-client-python-amd64: + test-spacefx-client-python-amd64: permissions: contents: read issues: read @@ -21,7 +21,7 @@ jobs: GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} - test-spacesdk-client-python-arm64: + test-spacefx-client-python-arm64: permissions: contents: read issues: read