tests build: buil on push/pr to master (#4680)

This commit is contained in:
Paweł Redzyński
2020-10-10 00:22:08 +03:00
committed by GitHub
parent 0e257adc63
commit fba94a4569
+9 -1
View File
@@ -1,9 +1,16 @@
name: Tests build
on: [push, pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
lint:
if: ${{ github.repository }} == 'iteratie/dvc'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
@@ -18,6 +25,7 @@ jobs:
- name: Check formatting
run: pre-commit run --all-files
tests:
if: ${{ github.repository }} == 'iteratie/dvc'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false