0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/ee
Karl-Aksel Puulmann 9769ef0b5d
Improve backend CI (update .test_timings, run against different CH version) (#8708)
* Make clickhouse server image version configurable

* Attempt to use a reusable workflow for backend tests

* Try a composite action

* Add missing shell: bash

* Temporarily remove a step

* Cache id parameter

* Include the action when needing to rerun

* Move checking migrations to separate file

This didn't work in composite actions tests and slows down every
parallelized test execution for no reason. This should have been
separate in the first place.

* Rename job

* Improve check-migrations

* Start stack in the new job

* Remove shell

* Solve flaky test

* Remove unused file

* Create a test timings job

* Use checkout@v2 - https://github.com/cds-snc/github-actions/issues/23

* Ignore coverage files

* Save backend test durations

* Install pytest-split

* Clean up ci-backend

* Move actions code around

* wording improvement

* Save backend test durations

* Add a comment

* Make it possible to run tests with a different clickhouse version

* Remove debugging code

* Fix typo

* Boolean inputs please work

Fixes overeager test running as per https://github.com/actions/runner/issues/1483

Co-authored-by: PostHog Bot <hey@posthog.com>
2022-02-22 17:06:04 +02:00
..
api Part 2: Deprecate old tags and upgrade to new tags Backend (#8529) 2022-02-18 08:47:05 -08:00
benchmarks flake8: enable E266,W291,W293,W391,W601 (#8699) 2022-02-21 15:47:27 +01:00
bin Special Migrations Runner (#7054 pt. 4) (#7446) 2021-12-13 13:00:27 -03:00
certs
clickhouse Improve backend CI (update .test_timings, run against different CH version) (#8708) 2022-02-22 17:06:04 +02:00
idl Delete omni_person.proto (#3014) 2021-01-21 14:13:04 +01:00
kafka_client feat(healthchecks): add clickhouse and redis health (#8497) 2022-02-10 15:20:38 +00:00
management/commands async mig check (#8503) 2022-02-09 20:45:59 +01:00
migrations noop 0214 (#8704) 2022-02-18 21:42:38 +00:00
models Add tags back migrations (#8701) 2022-02-18 21:29:16 +00:00
tasks len(queryset) -> queryset.count() (#8650) 2022-02-17 12:38:34 +01:00
__init__.py
apps.py
conftest.py add test for async migrations not being required on fresh installs (#8323) 2022-02-02 07:47:49 -05:00
LICENSE Updated where our enterprise terms are found (#2881) 2021-01-08 12:09:27 +01:00
pytest.ini Set debug, test, and primary_db env variables based on context (#7250) 2021-11-20 17:18:39 +00:00
settings.py Boolean should be compared with is/is not (#8651) 2022-02-17 10:31:54 +01:00
urls.py Dashboard privilege API and collaborators UI (#8424) 2022-02-08 16:22:09 +00:00