Skip to content

Commit

Permalink
Try to fix tests by decreasing workers
Browse files Browse the repository at this point in the history
  • Loading branch information
jcallison1 committed Sep 28, 2024
1 parent e3b5f6f commit 9eb865f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [pull_request]
on: [pull_request, push]

jobs:
build:
Expand Down Expand Up @@ -41,10 +41,9 @@ jobs:
cd FrontEndReact
npx eslint --max-warnings=0 .
# TODO: Fix Jest tests so that they work on CI
# - name: Run Jest tests
# run: |
# cd FrontEndReact
# npm test
# env:
# REACT_APP_API_URL: 'http://127.0.0.1:5050/api'
- name: Run Jest tests
run: |
cd FrontEndReact
npm test --maxWorkers 1 --all
env:
REACT_APP_API_URL: 'http://127.0.0.1:5050/api'

0 comments on commit 9eb865f

Please sign in to comment.