Skip to content

Commit

Permalink
Enable on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Feb 3, 2025
1 parent 80a62b2 commit af0d56b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ name: Unit Tests
push:
branches:
- master
- poc/**
pull_request:
branches:
- master
schedule:
- cron: 0 7 * * *
concurrency:
Expand Down Expand Up @@ -1421,7 +1423,7 @@ jobs:
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
aggregate:
unit-tests:
runs-on: ubuntu-24.04
needs:
- build-test-ruby-34
Expand Down
8 changes: 6 additions & 2 deletions tasks/github.rake
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,11 @@ namespace :github do
'push' => {
'branches' => [
'master',
'poc/**',
]
},
'pull_request' => {
'branches' => [
'master',
]
},
'schedule' => [
Expand All @@ -244,7 +248,7 @@ namespace :github do
'cancel-in-progress' => '${{ github.ref != \'refs/heads/master\' }}'
},
'jobs' => jobs.merge(
'aggregate' => {
'unit-tests' => {
'runs-on' => ubuntu,
'needs' => runtimes.map(&:build_test_id),
'steps' => [
Expand Down

0 comments on commit af0d56b

Please sign in to comment.