Try to fix installing Pulsar on macOS #17
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
name: CI | |
on: [push, pull_request] | |
env: | |
CI: true | |
jobs: | |
Test: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install Pulsar on macOS | |
uses: brew install pulsar | |
if: ${{ matrix.os == 'macos-latest' }} | |
- name: Install Pulsar on Linux | |
uses: pulsar-edit/action-pulsar-dependency@v3 | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
- name: Install dependencies | |
run: ppm install | |
- name: Run tests | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: pulsar --test spec |