0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/.github/workflows/ci-backend-update-test-timing.yml

37 lines
1.2 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-backend
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@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>