where to run

This commit is contained in:
Evgeny Danienko 2022-05-13 09:25:37 +03:00
parent 39d943d22e
commit 81ede2f6d2

View file

@ -7,7 +7,7 @@ on:
pull_request: pull_request:
branches: branches:
- master - master
types: [opened, synchronize, closed] types: [closed]
concurrency: concurrency:
group: build-${{ github.event.pull_request.number || github.ref }} group: build-${{ github.event.pull_request.number || github.ref }}
@ -15,7 +15,7 @@ concurrency:
jobs: jobs:
tests: tests:
if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true)) if: (github.event.action != 'closed' || github.event.pull_request.merged == true)
strategy: strategy:
matrix: matrix:
os: [ ubuntu-20.04, macos-11 ] # list of os: https://github.com/actions/virtual-environments os: [ ubuntu-20.04, macos-11 ] # list of os: https://github.com/actions/virtual-environments