Skip to content

Commit

Permalink
Switch TM_LOG_DIR to a writable directory
Browse files Browse the repository at this point in the history
The earlier PR #5184 switched the default TM_LOG_DIR from `logs` to
`/home/appuser` which is not present in circleCI. Switched it out for
/tmp/logs to make tests work.
  • Loading branch information
eternaltyro committed May 17, 2023
1 parent a8aa2d7 commit e89495d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ jobs:
- run: pdm config --global python.use_venv False
- run: pdm export --prod --without-hashes > requirements.txt
- run: pip install -r requirements.txt
- run: mkdir --mode 766 -p /tmp/logs
- run: mkdir ${CIRCLE_WORKING_DIRECTORY}/tests/backend/results
- run: find ./tests/backend -name "test*.py" -exec chmod -x {} \;
- run: echo "export TM_LOG_DIR=/tmp/logs" >> $BASH_ENV
- run:
name: Run backend functional tests
command: |
Expand Down

0 comments on commit e89495d

Please sign in to comment.