Closed mehalyna closed 8 months ago
As far as I can see, CI failed due to the inability to configure the logger, which takes settings such as the log file name and the logging level from the .env environment variables file. Will this be a problem in the future? The same question also applies to connecting to the database.
For sure, it'll cause the problem. Now I'm thinking over the setup of environment-specific settings files or environment variables to differentiate between production and CI environments. Consequently, this approach might allow us to use file logging in production and console logging in CI. I hope 🤔
Workflow sets up the environment, installs dependencies, runs Django tests with coverage, generates a coverage report, and then uploads the coverage data to Codecov