Skip to content

Merge pull request #7 from pulsar-edit/less-permissive-dugite #28

Merge pull request #7 from pulsar-edit/less-permissive-dugite

Merge pull request #7 from pulsar-edit/less-permissive-dugite #28

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [ 'master' ]
jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
node-version: [ 16, 18 ]
fail-fast: false
name: Test
runs-on: ${{ matrix.os }}
steps:
- name: Checkout the latest code
uses: actions/checkout@v3
with:
fetch-depth: 0
# Make sure we get all commits, since testing uses the local git info
- name: Install Python setuptools
# This is needed for Python 3.12+, since many versions of node-gyp
# are incompatible with Python 3.12+, which no-longer ships 'distutils'
# out of the box. 'setuptools' package provides 'distutils'.
run: python3 -m pip install setuptools
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm run test