Merge pull request #18 from savetheclocktower/fix-specs #48
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 | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, macos-latest, windows-2019] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout the Latest Package Code | |
uses: actions/checkout@v3 | |
- name: Setup Pulsar Editor | |
uses: pulsar-edit/[email protected] | |
- name: Install dependencies (Windows) | |
if: ${{ runner.os == 'Windows' }} | |
# Currently the Pulsar process starts, but unlike *nix doesn't wait for ppm to finish, probably because pulsar.cmd needs updated | |
# So we'll fallback to ppm (still named apm) instead | |
run: apm install | |
- name: Install dependencies (*nix) | |
if: ${{ runner.os != 'Windows' }} | |
run: pulsar --package install | |
- name: Run the headless Pulsar Tests | |
uses: coactions/[email protected] | |
with: | |
run: pulsar --test spec | |
# working-directory: ./pulsar |