chore(deps-dev): bump husky from 8.0.3 to 9.0.11 #2909
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, pull_request] | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
toolchain: | |
- { compiler: gcc, version: 11 } | |
node-version: [20.x] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: fortran-lang/setup-fortran@v1 | |
id: setup-fortran | |
with: | |
compiler: ${{ matrix.toolchain.compiler }} | |
version: ${{ matrix.toolchain.version }} | |
- name: Installing Extension | |
run: npm ci | |
- name: Compile | |
run: npm run compile | |
- name: Linting | |
run: npm run lint | |
- name: Test Syntax Highlighting | |
run: npm run test:grammar | |
- name: Test Unittests | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run test | |
# This will not fail the job if tests fail so we have to npm test separately | |
- name: Coverage report | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |