forked from PostHog/posthog
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1.24 KB
/
ci-backend-update-test-timing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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@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: [email protected]
commit_author: PostHog Bot <[email protected]>