Skip to content

Commit

Permalink
Fix node installation procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
0mar committed Sep 10, 2024
1 parent bdb34f3 commit 1ef8a41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .[testing]
- name: Build SMART sandbox
- name: Install SMART sandbox
run: |
git clone https://github.com/smart-on-fhir/smart-launcher-v2.git
cd smart-launcher-v2
npm install
npm ci --omit=dev
npm run build
env:
NODE_ENV: production
PORT: 5555
- name: Run tests
run: |
Expand Down
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def sandbox():
except requests.ConnectionError:
pass
time.sleep(1) # Wait for 1 second before retrying

else:
raise requests.ConnectionError(f"Cannot connect to {url}")
yield url
a.kill()

0 comments on commit 1ef8a41

Please sign in to comment.