Skip to content

Commit

Permalink
Fixup GitHub Actions pipeline to run on PRs (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Callahan <danc@element.io>
  • Loading branch information
callahad committed Aug 4, 2021
1 parent 8cbe3d6 commit 81abcc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Linting and Tests
on: [push]
on:
push:
branches: ["main"]
pull_request:

jobs:
check-code-style:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -61,4 +65,4 @@ jobs:
TEST_USE_POSTGRES: "yes"
TEST_POSTGRES_USER: "postgres"
TEST_POSTGRES_PASSWORD: "postgres"
TEST_POSTGRES_HOST: "localhost"
TEST_POSTGRES_HOST: "localhost"
1 change: 1 addition & 0 deletions changelog.d/240.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixup GitHub Actions pipeline to always run tests on PRs.

0 comments on commit 81abcc2

Please sign in to comment.