Skip to content

Commit

Permalink
PP-12687: Add dedicated PR workflow
Browse files Browse the repository at this point in the history
Aiming for consistency with app repos.
  • Loading branch information
katstevens committed Nov 5, 2024
1 parent 62cac41 commit fbf400f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Run tests and static build

on:
pull_request:
workflow_call:
workflow_dispatch:

permissions:
contents: read

jobs:
run-tests:
tests:
name: Unit tests and static build
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: PR

on:
pull_request:

permissions:
contents: read

jobs:
tests:
uses: ./.github/workflows/_run-tests.yml
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
run-tests:
name: Unit tests and static build
uses: ./.github/workflows/run-tests.yml
uses: ./.github/workflows/_run-tests.yml
static:
name: Deploy and release Pay product pages
needs: run-tests
Expand Down

0 comments on commit fbf400f

Please sign in to comment.