Skip to content

Test update

Test update #256

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
- feature/**
- fix/**
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
npm ci
- run: |
npm run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test Results All
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: Test Results All
results-path: ./files/**/*.trx
allow-failed-tests: true
- name: Test Results Success
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: Test Results Success
results-path: ./files/success/*
- name: Test Results Fail
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: Test Results Fail
results-path: ./files/fail/*
allow-failed-tests: true
- name: Test Coverage OpenCover
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: Test Coverage OpenCover
results-path: ./files/success/*
coverage-path: ./files/success/test_coverage_opencover.xml
coverage-threshold: 44
- name: Test Coverage Cobertura
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: Test Coverage Cobertura
results-path: ./files/success/*
coverage-path: ./files/success/test_coverage_cobertura.xml
coverage-type: cobertura
coverage-threshold: 44