Skip to content

Commit

Permalink
Update workflows to ensure tests run before release
Browse files Browse the repository at this point in the history
  • Loading branch information
icodesign committed Dec 28, 2024
1 parent 7a69d8d commit a10e3a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ env:
CI: true

jobs:
test:
uses: ./.github/workflows/test.yml

release:
needs: test # Ensure tests pass before releasing
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Run Tests
on:
workflow_call:
push:
branches:
- '**'
- '!main'
pull_request:
branches:
- main
Expand Down

0 comments on commit a10e3a5

Please sign in to comment.