Skip to content

add report about used middlewares #471

add report about used middlewares

add report about used middlewares #471

Workflow file for this run

name: TEST
on:
push:
branches:
- the-one
paths:
- '**.ts'
- '**.js'
- '**.json'
- '.github/workflows/test.yml'
pull_request:
branches:
- the-one
paths:
- '**.ts'
- '**.js'
- '**.json'
- '.github/workflows/test.yml'
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 22
- 23
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- run: npm run language
- run: npm run test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: unit-test-${{ env.CURRENT_NODE_VERSION }}
integration:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 23
- 22
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- run: npm run language
- run: npm run integration
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: integration ${{ env.CURRENT_NODE_VERSION }}
property:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 23
- 22
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- run: npm run language
- run: npm run property
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: property-test-${{ matrix.version }}
mutation:
runs-on: ubuntu-latest
needs:
- unit-test
- integration
- property
strategy:
matrix:
version:
- 23
- 22
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: npm ci
- run: npm run language
- run: sed -i 's/testFileNames\.forEach/testFileNames\.files\.forEach/' node_modules/@stryker-mutator/mocha-runner/dist/src/mocha-test-runner.js
- run: npm run mutation
end:
runs-on: ubuntu-latest
needs:
- unit-test
- integration
- property
steps:
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true