From 2895b7550f9c8f7ff0f05ba84bd010b469d5206c Mon Sep 17 00:00:00 2001 From: qvalentin <36446499+qvalentin@users.noreply.github.com> Date: Wed, 15 Jan 2025 18:54:35 +0000 Subject: [PATCH] ci: check tests are formatted Co-authored-by: Guilherme Soares <48023091+guilhas07@users.noreply.github.com> --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 62ecfa6..6d133cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,6 +25,8 @@ jobs: - name: check for uncommited changes run: git diff --exit-code - run: npm test + - name: check test file formatting + run: npx tree-sitter test -u && git diff --exit-code prettier: runs-on: ubuntu-latest steps: