Skip to content

Commit

Permalink
pytest explaination
Browse files Browse the repository at this point in the history
  • Loading branch information
choccccy committed Jul 23, 2024
1 parent 88df3be commit ae4140a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/embedding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ PG_USER="username"
PG_PASSWORD="passwd"
PG_DATABASE="PeeGeeVee"
```

Make sure those are set in the subshell, for example by using an env.sh file and `set -o allexport && source env.sh && set +o allexport`! Further reading: (https://huggingface.co/blog/ucheog/separate-env-setup-from-code)

0 comments on commit ae4140a

Please sign in to comment.