mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-07 00:39:44 -06:00
/.github/workflows/ci-bats-windows.yaml: stop bats windows on pr
This commit is contained in:
22
.github/workflows/ci-bats-windows.yaml
vendored
22
.github/workflows/ci-bats-windows.yaml
vendored
@@ -1,17 +1,28 @@
|
||||
name: Test Bats Windows
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
email:
|
||||
description: 'Email address to receive bats failure notification'
|
||||
required: true
|
||||
default: ''
|
||||
repository_dispatch:
|
||||
types: [ bats-windows ]
|
||||
|
||||
jobs:
|
||||
get-files:
|
||||
name: Get File list
|
||||
name: Get file list
|
||||
runs-on: ubuntu-18.04
|
||||
outputs:
|
||||
files: ${{ steps.get_file_list.outputs.files }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
with:
|
||||
ref: ${{ github.event.client_payload.ref }}
|
||||
- uses: actions/checkout@v2
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
- name: Get file list
|
||||
id: get_file_list
|
||||
run: |
|
||||
@@ -91,6 +102,11 @@ jobs:
|
||||
with:
|
||||
python-version: ^3.6
|
||||
- uses: actions/checkout@v2
|
||||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
with:
|
||||
ref: ${{ github.event.client_payload.ref }}
|
||||
- uses: actions/checkout@v2
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ^12
|
||||
|
||||
Reference in New Issue
Block a user