Skip to content

Commit

Permalink
Trigger github CI to run on pull request.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 653285882
  • Loading branch information
ai-edge-bot authored and copybara-github committed Jul 17, 2024
1 parent 23ae0f9 commit 8b13d26
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
name: Build Python Package

on:
merge_group:
pull_request:
branches: ["main"]
push:
branches: ["main"]
workflow_dispatch: # Allow manual triggers

jobs:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/unittests_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
name: Python Unit Tests

on:
merge_group:
pull_request:
branches: ["main"]
push:
branches: ["main"]
workflow_dispatch: # Allow manual triggers
workflow_call:
inputs:
trigger-sha:
Expand All @@ -17,7 +23,7 @@ on:

jobs:
run-unittests-python:
name: "Run Unit Tests with Python ${{ matrix.python-version }} on {{ matrix.runner }}"
name: "Run Unit Tests with Python ${{ matrix.python-version }} on ${{ matrix.runner }}"
strategy:
matrix:
runner: [ubuntu-latest]
Expand Down

0 comments on commit 8b13d26

Please sign in to comment.