Skip to content

Commit

Permalink
fix(ci/test): run tests on all PRs
Browse files Browse the repository at this point in the history
since the test check is required to merge to main
by GitHub's branch protection, we need the check to
run on all PRs regardless of contents

no need to run on push to main since PRs are required
  • Loading branch information
thekaveman committed Jan 11, 2022
1 parent 02a2108 commit 2e5b770
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
name: Run tests

on:
push:
branches: [ main ]
paths:
- .github/workflows/dotnet-test.yml
- 'src/**'
- 'tests/**'
- HashFields.sln

pull_request:
branches: [ "*" ]
paths:
- .github/workflows/dotnet-test.yml
- 'src/**'
- 'tests/**'
- HashFields.sln

jobs:
test:
Expand Down

0 comments on commit 2e5b770

Please sign in to comment.