Skip to content

Commit

Permalink
Merge pull request #1061 from google/thiagowfx-patch-1
Browse files Browse the repository at this point in the history
ci: run on every PR and on main branch
  • Loading branch information
Thiago Perrotta authored Feb 24, 2023
2 parents 4ac53eb + 05a27c4 commit aa4fa66
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@

name: YAPF

on: [push]
on:
pull_request:
push:
branches: 'main'

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit aa4fa66

Please sign in to comment.