Skip to content

try coverage

try coverage #38

Workflow file for this run

name: Backend
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
permissions:
# Required to checkout the code
contents: read
# Required to put a comment into the pull-request
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: 'Install Deps'
run: pnpm install
- name: 'Check format and lint'
run: pnpm check
- name: 'Test'
run: pnpm vitest --watch=false
- name: 'Coverage'
run: pnpm vitest --coverage.enabled true
- name: "Upload Coverage"
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage