Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Richi committed Mar 5, 2024
2 parents d5728fd + 9e933a2 commit 01b3a75
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/validate-jest-cov-inhouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run jest tests with coverage report
on:
workflow_call:
inputs:
runs-on:
description: "Define the type of machine to run the job on"
type: string
required: false
default: '["self-hosted", "Linux", "X64", "bratislava"]'

jobs:
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Pipelines Version
run: |
echo "Pipelines version: 2.0.1"
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Run jest tests and create coverage report
uses: ArtiomTr/jest-coverage-report-action@v2
22 changes: 22 additions & 0 deletions .github/workflows/validate-jest-cov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run jest tests with coverage report
on: workflow_call

jobs:
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Pipelines Version
run: |
echo "Pipelines version: 2.0.1"
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Run jest tests and create coverage report
uses: ArtiomTr/jest-coverage-report-action@v2

0 comments on commit 01b3a75

Please sign in to comment.