Skip to content

Commit

Permalink
configured TIRE_CONFIG appropriately in CI and dockerfile for make setup
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrSheldon committed Sep 6, 2024
1 parent af24afd commit 24d2d5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
sudo bash -c 'mkdir -p "/etc/discourse/" && echo "I am so secret" > "/etc/discourse/client-api-key"'
pip3 install .[dev,test]
make setup
env:
TIRA_CONFIG: ${{github.workspace}}/application/config/tira-application-config.yml
- name: Run backend tests
working-directory: ${{github.workspace}}/application/test
run: pytest
Expand Down
1 change: 1 addition & 0 deletions application/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pip3 install -q --no-cache-dir --user ../python-client .[test,deploy]
chmod +x ./src/tira_app/endpoints/aha # FIXME; aha is not copied to the Production Container

# Run tests
export TIRA_CONFIG="/tira/config/tira-application-config.yml"
make setup
cd test
pytest
Expand Down

0 comments on commit 24d2d5c

Please sign in to comment.