Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Sarah Clements 7ea0760c58
Remove heroku v2 (#7271)
* update dockerfile and remove post_compile
* remove more heroku mentions
* remove redis heroku ref
* update middleware and CSP
* remove irrelevant test and script references to heroku
remove tox heroku command from circleCI config
* more references removed
* remove prototype2 reference
* remove old TLS check for redis
2021-09-16 11:30:12 +01:00
Sarah Clements d7849ac7af
Revert "heroku cleanup (#7219)" (#7245)
This reverts commit 7cb8d8abe7.
2021-08-18 18:22:13 +01:00
Sarah Clements 7cb8d8abe7
heroku cleanup (#7219)
* update dockerfile and remove post_compile
* remove redis heroku ref
* update middleware and CSP
* remove irrelevant test and script references to heroku
remove tox heroku command from circleCI config
* remove get_tls_redis_url and reconfigure default TLS_PATH_CERT in docker file
2021-08-16 14:49:07 +01:00
Ben Hearsum (he/him) b1f6a7d635
Disable pytest-xdist because it seems to be causing intermittent failures (#7069) 2021-03-26 15:44:55 -04:00
Ben Hearsum (he/him) dd0216ae40
Re-re-re-remove activedata and bigquery (#7056)
* Bump python to 3.7.10 to try to fix issues with typing module

* Remove requirement on typing again

* Remove bigquery and activedata references (#7051)

* Remove activedata and bigquery again

* Add importlib-metadata to dev requirements

* Remove remnants of selenium tests from setup.cfg

* Don't call taskcluster.aio.createSession outside of async functions (it's not allowed)

* Disable newrelic linters to fix issue with imp module

See https://discuss.newrelic.com/t/python-warnings-during-pytest/114897

* Fix linting errors

* Use pytest-xdist to speed up tests

* Properly ignore newrelic warnings

* Disable django.contrib.staticfiles in tests, because it breaks everything

* Set TREEHERDER_DEBUG=False for unit tests, because it breaks some tests

* Fix linting issues
2021-03-23 09:15:32 -04:00
Armen Zambrano G f00afa8e1e
Unify linting (local pre-commit hooks & CI) (#6993)
* Prevent regression of pre-commit checks
* Switch to new prettier repo
2021-01-29 15:47:06 -08:00
Armen Zambrano G 071088c00a
Some CI & tox changes (#6942)
*Create new Tox environment for linting checks
* Move production environment variables into Heroku's tox environment 
* Call `tox -e docker` instead of custom command
* Upload code coverage file
* Run JS tests before trying to submit coverage results
* Upgrade very old pip package
2021-01-05 16:51:23 -08:00
Cameron Dawson 9908f72189
Bug 1576966 - Convert last Selenium tests to React Testing Library (#6928) 2020-12-21 12:54:07 -08:00
Armen Zambrano 2ffe35cd1e
Improve Travis and Tox configuration (#6732)
Some changes in here:
* Making tox a bit more the centralized point for configurying job execution
* Move Heroku code paths into tox from .travis.yml
* Move to more modern Travis image (xenial 16.04 -> bionic 18.04)
* Make Python tests outside of Docker to run slow tests (DB required)
* Cache tox packages to speed up following Travis runs
* Remove coverage data before gathering new data (to prevent using old data)
2020-08-27 12:10:06 -07:00
Kyle Lahnakoski d05ea73447
Bug 1646244 - pre-commit in Travis takes a long time (#6613)
* upgrade python libs
* unlock newrelic, furl
* unlock pre-commit
* move pre-commit checks to Travis jobs
2020-07-14 10:06:51 -04:00
Armen Zambrano 5ca21043df
Make poetry the default method for generating the docs (#6424)
This makes sure that serving the documentation via poetry does not regress
and we have a single way of generating them.

Setting the build backend in `pyproject.toml` makes `pip` to use `poetry` to install the dependencies. By doing so, readthedocs will be able to install the required dependencies to generate the docs (since they don't support poetry directly).
2020-05-15 15:12:35 -04:00
Shubhank Saxena 523536ae95
Tox: Do not ignore "tests/extract" when running tests (#6377) 2020-04-30 15:17:35 -04:00
Suyash Salampuria 487385af5f
Automation: Run all pre-commit hooks (#6334) 2020-04-21 15:54:30 -04:00
Shubhank Saxena 946b7cf800
Use tox to run Travis tests locally (deprecate runtests.sh) (#6194) 2020-04-17 15:56:33 -04:00