diff --git a/.github/workflows/runn-cli-tests.yml b/.github/workflows/runn-cli-tests.yml index 1b9226f..b464aff 100644 --- a/.github/workflows/runn-cli-tests.yml +++ b/.github/workflows/runn-cli-tests.yml @@ -96,6 +96,7 @@ jobs: RUNN_SCOPES: "read:parent,run:exec" UZUMIBI_TEST_BINARY: ${{ github.workspace }}/target/release/uzumibi UZUMIBI_TEST_TMPDIR: ${{ runner.temp }} + UZUMIBI_PROJECT_NAME: test-cloudflare-project-${{ github.run_id }} run: runn run new_cloudflare.yml --verbose cloudflare-enable-external-test: @@ -144,6 +145,7 @@ jobs: UZUMIBI_TEST_BINARY: ${{ github.workspace }}/target/release/uzumibi UZUMIBI_TEST_TMPDIR: ${{ runner.temp }} UZUMIBI_NEW_EXTRA_ARGS: "--features enable-external" + UZUMIBI_PROJECT_NAME: test-cloudflare-project-${{ github.run_id }} run: runn run new_cloudflare.yml --verbose cloudrun-test: diff --git a/uzumibi-cli/tests/runn/new_cloudflare.yml b/uzumibi-cli/tests/runn/new_cloudflare.yml index 794e637..6317c8b 100644 --- a/uzumibi-cli/tests/runn/new_cloudflare.yml +++ b/uzumibi-cli/tests/runn/new_cloudflare.yml @@ -5,7 +5,7 @@ vars: binary: ${UZUMIBI_TEST_BINARY:-../target/release/uzumibi} tmpdir: ${UZUMIBI_TEST_TMPDIR:-../tmp} extra_args: ${UZUMIBI_NEW_EXTRA_ARGS:-} - project_name: test-cloudflare-project + project_name: ${UZUMIBI_PROJECT_NAME:-test-cloudflare-project} template: cloudflare steps: build: @@ -40,7 +40,7 @@ steps: command: cat {{ vars.tmpdir }}/{{ vars.project_name }}/wasm-app/Cargo.toml test: | current.exit_code == 0 && - current.stdout contains 'name = "test-cloudflare-project"' + !(current.stdout contains '$$PROJECT_NAME$$') check_app_rb: desc: Check lib/app.rb exists @@ -92,4 +92,5 @@ steps: desc: Clean up test directory exec: command: rm -rf {{ vars.tmpdir }}/{{ vars.project_name }} + dump: steps test: current.exit_code == 0