Skip to content

Update CI and test

Update CI and test #16

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Pulsar on Linux
uses: pulsar-edit/action-pulsar-dependency@v3
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install Pulsar on macOS
run: brew install pulsar
if: ${{ matrix.os == 'macos-latest' }}
- name: Install LilyPond on Linux
run: |
wget --no-verbose https://gitlab.com/lilypond/lilypond/-/releases/v2.24.4/downloads/lilypond-2.24.4-linux-x86_64.tar.gz
tar -xf lilypond-2.24.4-linux-x86_64.tar.gz
echo "$(pwd)/lilypond-2.24.4/bin" >> $GITHUB_PATH
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install LilyPond on macOS
run: brew install lilypond
if: ${{ matrix.os == 'macos-latest' }}
- name: Install package dependencies
run: ppm install
- name: Run tests
uses: coactions/setup-xvfb@v1
with:
run: pulsar --test spec