Skip to content

test: add edge case tests to achieve 100% coverage #3

test: add edge case tests to achieve 100% coverage

test: add edge case tests to achieve 100% coverage #3

Workflow file for this run

name: CI and Codecov
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: swapwarick/agent-diaries-sdk