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

View File

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