-
Notifications
You must be signed in to change notification settings - Fork 7
54 lines (51 loc) · 1.58 KB
/
musicxml2ly_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#TODO: boilerplate code, use matrix
on:
workflow_dispatch:
inputs:
linux_os_name:
required: true
type: string
default: "ubuntu-latest"
windows_os_name:
required: true
type: string
default: "windows-latest"
macos_os_name:
required: true
type: string
default: "macos-latest"
versions:
required: false
type: string
python_version:
required: true
type: string
default: "3.11"
jobs:
musicxml2ly-test-linux:
if: ${{ inputs.linux_os_name != 'NO' }}
runs-on: ${{ inputs.linux_os_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python_version }}
- run: python3 tests/musicxml2ly_test.py run_exec ${{ inputs.versions }} remove_installation
musicxml2ly-test-windows:
if: ${{ inputs.windows_os_name != 'NO' }}
runs-on: ${{ inputs.windows_os_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python_version }}
- run: python3 tests/musicxml2ly_test.py run_exec ${{ inputs.versions }} remove_installation
musicxml2ly-test-macos:
if: ${{ inputs.macos_os_name != 'NO' }}
runs-on: ${{ inputs.macos_os_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python_version }}
- run: python3 tests/musicxml2ly_test.py run_exec ${{ inputs.versions }} remove_installation