chore(deps-dev): bump c8 from 9.1.0 to 10.1.3 #3134
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 | |
run: xvfb-run --auto-servernum npm run test | |
# This will not fail the job if tests fail so we have to npm test separately | |
- name: Coverage report | |
run: xvfb-run --auto-servernum npm run coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |