Skip to content

Commit

Permalink
split frontend/backend unit test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Aug 5, 2024
1 parent 53701c4 commit aaacb1c
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'release/**'

jobs:
build:
test-back:

runs-on: ubuntu-22.04

Expand Down Expand Up @@ -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

0 comments on commit aaacb1c

Please sign in to comment.