Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/actions/run-coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,3 @@ runs:
shell: bash
working-directory: ${{ inputs.working-directory }}
run: npm run test:coverage:ci

# Use the action only for report generation, not for running tests
- uses: ArtiomTr/jest-coverage-report-action@262a7bb0b20c4d1d6b6b026af0f008f78da72788 # v2.3.1
with:
output: report-markdown
coverage-file: report.json
base-coverage-file: report.json
working-directory: ${{ inputs.working-directory }}
annotations: none
skip-step: all
continue-on-error: false

11 changes: 5 additions & 6 deletions .github/workflows/unit-test-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
os: ['ubuntu-22.04']
node: ['22', '24']
permissions:
checks: write
pull-requests: write
contents: read
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -33,15 +32,15 @@ jobs:
- name: Build
run: npm run build

- name: Tests
run: npm run test
- name: Test Blocks Package
run: npm test --workspace=@faustwp/blocks

- name: Code Coverage for FaustWP Core Package
- name: Test Core Package with Coverage
uses: ./.github/actions/run-coverage
with:
working-directory: packages/faustwp-core

- name: Code Coverage for FaustWP CLI Package
- name: Test CLI Package with Coverage
uses: ./.github/actions/run-coverage
with:
working-directory: packages/faustwp-cli
Expand Down
Loading