0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/.github/workflows/ci-backend-update-test-timing.yml
Eric Duong a1c21f9b2f
feat(data-warehouse): integrating data warehouse with trends insight (#20320)
* wip with new datawarehousenode type in trendsquerybuilder

* split out query builder

* add test

* add property support

* add test for entity property and non entity property filter

* basic breakdown working

* typing

* typing

* more typing

* use default args

* more typing

* resolved mypy

* Update query snapshots

* remove config

* generate schema properly

* Update UI snapshots for `chromium` (2)

* add breakdown type

* Update UI snapshots for `chromium` (2)

* trim data warehouse query builder

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* update schema.json

* add ci config

* try localhost

* mapping for linux

* Update query snapshots

* more typing

* types

* frontend typing

* backend typing

* add data warehouse logic path to funnel

* typo

* typing

* more typo

* more types

* sync

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* finally

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* add breakdown prop test

* update tests

* add test

* add type check

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix tests

* Update UI snapshots for `chromium` (2)

* abstract class

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* more tpying..

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* match signature

* match signature

* update test

* Update query snapshots

* add missing fields

* add schema

* update typing

* Update UI snapshots for `chromium` (2)

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-29 16:36:46 -05:00

41 lines
1.5 KiB
YAML

name: Backend CI - Update test timing
on:
workflow_dispatch:
env:
SECRET_KEY: '6b01eee4f945ca25045b5aab440b953461faf08693a9abbf1166dc7c6b9772da' # unsafe - for testing only
DATABASE_URL: 'postgres://posthog:posthog@localhost:5432/posthog'
REDIS_URL: 'redis://localhost'
CLICKHOUSE_HOST: 'localhost'
CLICKHOUSE_SECURE: 'False'
CLICKHOUSE_VERIFY: 'False'
TEST: 1
OBJECT_STORAGE_ENABLED: 'True'
OBJECT_STORAGE_ENDPOINT: 'http://localhost:19000'
OBJECT_STORAGE_ACCESS_KEY_ID: 'object_storage_root_user'
OBJECT_STORAGE_SECRET_ACCESS_KEY: 'object_storage_root_password'
jobs:
django:
name: Run Django tests and save test durations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/run-backend-tests
with:
# FIXME: These inputs are incomplete, but this workflow doesn't seem to be used currently,
# so fix this if you want to use this
concurrency: 1
group: 1
token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
- name: Save test durations
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'Save backend test durations'
commit_user_name: PostHog Bot
commit_user_email: hey@posthog.com
commit_author: PostHog Bot <hey@posthog.com>