Skip to content

Commit

Permalink
ci(backend): run backend tests on master (#6579)
Browse files Browse the repository at this point in the history
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 #6082
  • Loading branch information
Harry Waye authored Oct 21, 2021
1 parent a957f0a commit 9443e9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci-backend.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 9443e9d

Please sign in to comment.