Skip to content

Commit

Permalink
Merge pull request #496 from gocardless/run-actions-on-prs
Browse files Browse the repository at this point in the history
Ensure CI runs on PRs as well as pushes
  • Loading branch information
stephenbinns authored Mar 6, 2023
2 parents 2746f19 + 1eda6cf commit fbefa77
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: tests

on:
push:
branches:
- "master"
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -21,12 +24,12 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [2.7, 3.0, 3.1]
ruby-version: ["2.7", "3.0", "3.1"]
rails-version:
- "6.1.5"
- "7.0.4"
- "main"
postgres-version: [9.6, 11, 14]
postgres-version: ["9.6", "11", "14"]
runs-on: ubuntu-latest
services:
postgres:
Expand Down Expand Up @@ -60,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [2.7, 3.0, 3.1]
ruby-version: ["2.7", "3.0", "3.1"]
rails-version:
- "6.1.5"
- "7.0.4"
Expand Down

0 comments on commit fbefa77

Please sign in to comment.