.github/workflows/musicxml2ly_test.yaml #43
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
#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 |