mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
ci(backend): run backend tests on master (#6579)
At the moment we're just running tests on pull requests. The immediate reason I'm making this change is to ensure we are producing a code coverage report for master, which allows us to produce a patch difference of coverage. Sidenote: I'm also hoping will also trigger annotations to start being added to PRs highlighting untested code, which I thought should have started with https://github.com/PostHog/posthog/pull/6082
This commit is contained in:
parent
a957f0abb0
commit
9443e9dace
5
.github/workflows/ci-backend.yml
vendored
5
.github/workflows/ci-backend.yml
vendored
@ -1,7 +1,10 @@
|
||||
name: Backend CI
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
env:
|
||||
SECRET_KEY: '6b01eee4f945ca25045b5aab440b953461faf08693a9abbf1166dc7c6b9772da' # unsafe - for testing only
|
||||
DATABASE_URL: 'postgres://posthog:posthog@localhost:5432/posthog'
|
||||
|
Loading…
Reference in New Issue
Block a user