Ensure tests run for every push

This commit is contained in:
Daniel Carrillo 2020-12-26 19:00:42 +01:00
parent 3e03e532fd
commit e6756888e7
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,6 @@ on:
jobs:
tests:
runs-on: ${{ matrix.os }}
if: github.event_name == 'pull_request'
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
@ -39,6 +38,7 @@ jobs:
build_publish:
runs-on: ubuntu-latest
needs: tests
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2