From 4ea903fd175f7d4610550803f044b01f80b86fce Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Thu, 23 Jan 2025 15:02:53 -0700 Subject: [PATCH 1/3] testing --- .github/workflows/turborepo-test.yml | 29 ++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/workflows/turborepo-test.yml b/.github/workflows/turborepo-test.yml index c53a3c3895842..2f49c6718c482 100644 --- a/.github/workflows/turborepo-test.yml +++ b/.github/workflows/turborepo-test.yml @@ -36,20 +36,20 @@ jobs: examples-utils: - "turborepo-tests/helpers/**" basic-example: - - examples/basic/** - - turborepo-tests/example-basic-*/** + - "examples/basic/**" + - "turborepo-tests/example-basic-*/**" kitchen-sink-example: - - examples/kitchen-sink/** - - turborepo-tests/example-kitchen-sink-*/** + - "examples/kitchen-sink/**" + - "turborepo-tests/example-kitchen-sink-*/**" non-monorepo-example: - - examples/non-monorepo/** - - turborepo-tests/example-non-monorepo-*/** + - "examples/non-monorepo/**" + - "turborepo-tests/example-non-monorepo-*/**" with-svelte-example: - - examples/with-svelte/** - - turborepo-tests/example-with-svelte-*/** + - "examples/with-svelte/**" + - "turborepo-tests/example-with-svelte-*/**" with-tailwind-example: - - examples/with-tailwind/** - - turborepo-tests/example-with-svelte-*/** + - "examples/with-tailwind/**" + - "turborepo-tests/example-with-svelte-*/**" rest: - "!examples/**" - "!docs/**" @@ -123,6 +123,15 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + echo: + name: echo + needs: find-changes + runs-on: ubuntu-latest + steps: + - name: echo + run: | + echo ${{ needs.find-changes.outputs }} + rust_lint: name: Rust lints needs: From cc34483f036a4c99581047502335879d1962e662 Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Thu, 23 Jan 2025 15:04:58 -0700 Subject: [PATCH 2/3] WIP --- .github/workflows/turborepo-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/turborepo-test.yml b/.github/workflows/turborepo-test.yml index 2f49c6718c482..5c97e4352e0b7 100644 --- a/.github/workflows/turborepo-test.yml +++ b/.github/workflows/turborepo-test.yml @@ -130,7 +130,7 @@ jobs: steps: - name: echo run: | - echo ${{ needs.find-changes.outputs }} + echo ${{ fromJson(needs.find-changes.outputs) }} rust_lint: name: Rust lints From f5c2a990c52e901938a52bd57fba24a0038a0d48 Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Thu, 23 Jan 2025 15:08:19 -0700 Subject: [PATCH 3/3] WIP --- .github/workflows/turborepo-test.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/turborepo-test.yml b/.github/workflows/turborepo-test.yml index 5c97e4352e0b7..f5a2d758d2ef1 100644 --- a/.github/workflows/turborepo-test.yml +++ b/.github/workflows/turborepo-test.yml @@ -123,15 +123,6 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - echo: - name: echo - needs: find-changes - runs-on: ubuntu-latest - steps: - - name: echo - run: | - echo ${{ fromJson(needs.find-changes.outputs) }} - rust_lint: name: Rust lints needs: @@ -259,6 +250,8 @@ jobs: basic-example: name: "`basic` example" timeout-minutes: 40 + needs: + - find-changes if: ${{ needs.find-changes.outputs.basic-example == 'true' }} runs-on: ubuntu-latest steps: @@ -275,6 +268,8 @@ jobs: kitchen-sink-example: name: "`kitchen-sink` example" + needs: + - find-changes timeout-minutes: 40 if: ${{ needs.find-changes.outputs.kitchen-sink-example == 'true' }} runs-on: ubuntu-latest @@ -293,6 +288,8 @@ jobs: non-monorepo-example: name: "`non-monorepo` example" timeout-minutes: 40 + needs: + - find-changes if: ${{ needs.find-changes.outputs.non-monorepo-example == 'true' }} runs-on: ubuntu-latest steps: @@ -310,6 +307,8 @@ jobs: with-svelte-example: name: "`with-svelte` example" timeout-minutes: 40 + needs: + - find-changes if: ${{ needs.find-changes.outputs.with-svelte-example == 'true' }} runs-on: ubuntu-latest steps: @@ -327,6 +326,8 @@ jobs: with-tailwind-example: name: "`with-tailwind` example" timeout-minutes: 40 + needs: + - find-changes if: ${{ needs.find-changes.outputs.with-tailwind-example == 'true' }} runs-on: ubuntu-latest steps: