elliot
06/15/2022, 3:52 PMedgar_ramirez_mondragon
06/15/2022, 3:54 PMelliot
06/15/2022, 3:58 PM.env
file?elliot
06/15/2022, 3:59 PMauth_token
, would this need to be an environment variable called TAP-<my-source>-AUTH-TOKEN
?edgar_ramirez_mondragon
06/15/2022, 4:14 PMtap-mysource --config=ENV
It will pick up both environment variables and an .env
if there's one present
Now, the test generator overrides this behavior to always look for environment variables: https://github.com/meltano/sdk/blob/2166416c116528924ca0599e59b3db77d3be478e/singer_sdk/testing.py#L13-L43elliot
06/16/2022, 10:42 AMpoetry run tap-my_tap --config .secrets/config.json
Would have been nice if there was a way to do it with the pytest command, but this will do 🙂 Thanks for your help!