openverse-api icon indicating copy to clipboard operation
openverse-api copied to clipboard

Run tests with non-secret production flags turned on

Open sarayourfriend opened this issue 2 years ago • 0 comments

Problem

The issue in https://github.com/WordPress/openverse-api/pull/682 could be prevented by CI if we ran the tests in at least the production configuration, if not in both the production and the current configuration.

Part of the issue is that of course our integration tests can't be run with throttling turned on or they'll fail. However, we should have some subset of tests (probably unit tests) that do run on the production-configured application.

Related to #680

Alternatives

Additional context

Implementation

  • [ ] 🙋 I would be interested in implementing this feature.

sarayourfriend avatar May 06 '22 07:05 sarayourfriend