Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pulsar-edit/action-pulsar-dependency

Test changes in Core Dependencies of Pulsar
https://github.com/pulsar-edit/action-pulsar-dependency

github-actions pulsar-edit

Last synced: about 1 month ago
JSON representation

Test changes in Core Dependencies of Pulsar

Awesome Lists containing this project

README

        

# Pulsar dependency Github Action

This Action can be used to test a Pulsar package.

```yaml
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: Run the headless Pulsar Tests
uses: coactions/[email protected]
with:
run: pulsar --test spec

```

The above is a valid workflow for any package repository.

Otherwise using `coactions/setup-xvfb` is recommended because otherwise the tests will attempt to startup Electron from Pulsar and fail when they are unable to connect to a display.

Using `coactions/setup-xvfb` over `GabrielBB/xvfb-action` is recommended because it appears unmaintained anymore, and Nodejs 12 actions are deprecated