From 8da75887e144d422da7d5ee7e16e846e1bb4c197 Mon Sep 17 00:00:00 2001 From: Bartosz Nowak Date: Thu, 13 Jun 2024 09:03:50 +0200 Subject: [PATCH] fact_registry tests in CI --- .github/workflows/tests.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4ad71ad6e..df609f453 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,7 @@ on: pull_request: jobs: - formatting-and-testing: + verifier-formatting-and-testing: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -20,5 +20,17 @@ jobs: - name: Run tests run: scarb test - - name: Build fact registry - run: (cd fact_registry && scarb build) + fact-registry-formatting-and-testing: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup Scarb + uses: software-mansion/setup-scarb@v1 + + - name: Format code + run: cd fact_registry && scarb fmt --check + + - name: Run tests + run: cd fact_registry && scarb test \ No newline at end of file