Sphinx documentation #122
Workflow file for this run
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: | |
branches: | |
- "*" | |
- "!master" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node_version: [16] | |
os: [ubuntu-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Setup C++ environment on linux | |
uses: kurocha/setup-cpp@v1 | |
if: runner.os == 'Linux' | |
- name: Install dependencies on linux | |
run: sudo apt-get install -yq libblas-dev liblapack-dev liblapacke-dev | |
if: runner.os == 'Linux' | |
- name: Install dependencies on mac | |
run: brew install lapack | |
if: runner.os == 'macOS' | |
- name: Install package dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm test | |
- name: Publish coverage to CodeClimate | |
uses: paambaati/codeclimate-action@v3.0.0 | |
env: | |
CC_TEST_REPORTER_ID: 7bc2ff765ac0619975d32fe57959db6374d14a96780a1438ec68ea14036748e1 | |
with: | |
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov |