diff --git a/.github/workflows/check-tests-after-push-2.yml b/.github/workflows/check-tests-after-push-2.yml new file mode 100644 index 0000000..f02723d --- /dev/null +++ b/.github/workflows/check-tests-after-push-2.yml @@ -0,0 +1,13 @@ +name: "[Check] Run tests after push" + +on: + pull_request: + types: [opened, reopened, edited] + +jobs: + nightly-ui-tests: + runs-on: windows-2022 + if: ${{ contains(github.event.pull_request.body, '- [x] Run automated nightly tests') }} + steps: + - run: | + Write-Host "Nightly tests" diff --git a/.github/workflows/check-tests-after-push.yml b/.github/workflows/check-tests-after-push.yml index 93943e5..71ab58f 100644 --- a/.github/workflows/check-tests-after-push.yml +++ b/.github/workflows/check-tests-after-push.yml @@ -3,19 +3,10 @@ name: "[Check] Run tests after push" on: push: branches: '**' - pull_request: - types: [opened, reopened, edited] + jobs: integration-tests: runs-on: windows-2022 - if: ${{ always() && !github.event.comment.body }} - steps: - - run: | - Write-Host "Integration test" - - nightly-ui-tests: - runs-on: windows-2022 - if: ${{ always() && contains(github.event.pull_request.body, '- [x] Run automated nightly tests') }} steps: - run: | - Write-Host "Nightly test" + Write-Host "Integration tests" \ No newline at end of file