From aaacb1c3b404c18446d74665ade7ede71d85b758 Mon Sep 17 00:00:00 2001 From: Luka van der Plas Date: Mon, 5 Aug 2024 13:50:01 +0200 Subject: [PATCH] split frontend/backend unit test jobs --- .github/workflows/test.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f6aee4f..29171ccf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ on: - 'release/**' jobs: - build: + test-back: runs-on: ubuntu-22.04 @@ -65,7 +65,23 @@ jobs: PGPASSWORD: lettercraft_pwd run: | cat bootstrap_ci.txt | python bootstrap.py - yarn - name: Run all tests run: | - yarn test + cd backend + pytest + test-front: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + run: | + yarn fyarn + - name: Run tests + run: | + yarn test-front