Skip to content

Commit

Permalink
Run tests before CD pipeline (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangjokim authored Aug 18, 2024
1 parent 1d025ee commit 0d9449d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ permissions:

jobs:

run-tests:
uses: ./.github/workflows/tests.yml
with:
run_tests: true

build:
runs-on: ubuntu-latest

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
pull_request:
branches:
- develop
workflow_call:
inputs:
run_tests:
required: true
type: boolean

permissions:
contents: read
Expand Down

0 comments on commit 0d9449d

Please sign in to comment.