0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:04:16 +01:00
posthog/.github/workflows/ci-backend-update-test-timing.yml

37 lines
1.1 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
jobs:
django:
name: Run Django tests and save test durations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/run-backend-tests
with:
python-version: 3.8.5
ee: true
foss: false
concurrency: 1
group: 1
- name: Save test durations
uses: stefanzweifel/git-auto-commit-action@v4
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>