Skip to content

Merge pull request #89 from devverseio/fix/prevent-synchronize-if-coo… #20

Merge pull request #89 from devverseio/fix/prevent-synchronize-if-coo…

Merge pull request #89 from devverseio/fix/prevent-synchronize-if-coo… #20

Workflow file for this run

name: Run tests and upload coverage
on:
push:
branches:
- main
env:
BUN_VERSION: latest
jobs:
coverage:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{env.BUN_VERSION}}
- name: Install dependencies
run: bun install
- name: Run tests with coverage
run: bun coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}