diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eeb65f..ef373a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,9 @@ jobs: TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - run: pnpm test working-directory: apps/web + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - run: pnpm build working-directory: apps/web env: @@ -128,14 +131,23 @@ jobs: - name: fmt run: cargo fmt --all -- --check working-directory: apps/contracts + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - name: clippy run: cargo clippy --all-targets --all-features -- -D warnings working-directory: apps/contracts + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} - name: test run: cargo test --all working-directory: apps/contracts + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} proptest: name: Property-based tests (proptest) diff --git a/turbo.json b/turbo.json index 8a533ca..458167b 100644 --- a/turbo.json +++ b/turbo.json @@ -14,7 +14,11 @@ "dev": { "cache": false, "persistent": true }, "lint": { "dependsOn": ["^lint"] }, "type-check": { "dependsOn": ["^type-check"] }, - "test": { "cache": false }, + "test": { + "dependsOn": ["^build"], + "inputs": ["$TURBO_DEFAULT$"], + "outputs": ["coverage/**"] + }, "clean": { "cache": false } } }