Merge pull request #9 from AdrianKuta/pr_test

Set up GitHub Actions
This commit is contained in:
Adrian Kuta 2021-09-03 13:23:25 +02:00 committed by GitHub
commit 74a6a65434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -1,10 +1,10 @@
name: Push
name: Build
on: [push, pull_request]
on: pull_request
jobs:
build:
name: Build project
name: Check project build
runs-on: ubuntu-latest
steps:
- name: Check out code

View File

@ -1,10 +1,13 @@
name: Pull request
name: Test
on: pull_request
on:
pull_request:
branches:
- master
jobs:
build:
name: Build project
name: Run unit tests
runs-on: ubuntu-latest
steps:
- name: Check out code