Skip to content

Commit

Permalink
build: add a bin/post_compile for Heroku buildling
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Dec 13, 2024
1 parent 4a79de5 commit 2519c58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ jobs:
cache: "pip"

- name: Install Python dependencies the way Heroku would
run: pip install -r requirements.txt
run: |
pip install -r requirements.txt
bin/post_compile
- name: unit test the web API
run: python test/test_web_api.py
Expand Down
4 changes: 4 additions & 0 deletions bin/post_compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

# Heroku expects to run your app in place, but doesn't actually do this for you
pip install -e .

0 comments on commit 2519c58

Please sign in to comment.