mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
server/tests-py: Load the Python environment in a .envrc file.
This makes it easier to run the tests when `cd`-ing into the directory, and also takes care of cleaning up the environment when you exit the directory. It also helps editors with direnv support find the relevant libraries so that they can perform more helpful analysis. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4963 GitOrigin-RevId: d253c054c09c1bf7017ade9f7af414b56ee26fe0
This commit is contained in:
parent
3fc25a39d3
commit
b21d058bec
4
server/tests-py/.envrc
Normal file
4
server/tests-py/.envrc
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source_env ../../.envrc
|
||||
source_env .hasura-dev-python-venv/bin/activate
|
Loading…
Reference in New Issue
Block a user