Skip to content

Commit

Permalink
Run test on pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Dec 19, 2022
1 parent dca56c8 commit f3995f3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: build
on: push
name: Test
on:
pull_request:
push:
branches:
- "*"
tags:
- "*"
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
Expand All @@ -26,7 +32,7 @@ jobs:
USE_OFFICIAL_GEM_SOURCE: 1
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down

0 comments on commit f3995f3

Please sign in to comment.