forked from NeuralEnsemble/python-neo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use reusable workflow to disentangle manuall and automatic triggering
- Loading branch information
1 parent
20bcfdf
commit 904fdc1
Showing
3 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: NeoIoTest-manual-trigger | ||
|
||
workflow_dispatch: | ||
inputs: | ||
os: | ||
description: 'The operating system to run the tests on' | ||
required: True | ||
default: 'ubuntu-latest' | ||
type: choice | ||
options: | ||
- macos-latest | ||
- windows-latest | ||
|
||
jobs: | ||
call-iotests: | ||
uses: Neuralensemble/python-neo/.github/workflows/io-test.yml@main | ||
with: | ||
os: ${{ inputs.os }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: NeoIoTest-automatic-trigger | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
types: [synchronize, opened, reopened, ready_for_review] | ||
|
||
# run checks on any change of master, including merge of PRs | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
call-iotests: | ||
uses: Neuralensemble/python-neo/.github/workflows/io-test.yml@main | ||
with: | ||
os: ubuntu-latest |