Skip to content

Commit 5494dbf

Browse files
committed
Refactor sync and expand coverage tooling
1 parent 545eced commit 5494dbf

38 files changed

Lines changed: 3857 additions & 1090 deletions

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- next
8+
pull_request:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
cache: npm
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Run tests with coverage
28+
run: npm run test:coverage
29+
30+
- name: Upload coverage to Coveralls
31+
uses: coverallsapp/github-action@v2
32+
with:
33+
file: coverage/lcov.info

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
_A modern take on SQL and SQL databases_
66

77
[![npm version][npm-version-src]][npm-version-href]
8-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
8+
<!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] -->
9+
[![coverage][coverage-src]][coverage-href]
910
[![bundle][bundle-src]][bundle-href]
1011
[![License][license-src]][license-href]
1112

@@ -224,6 +225,8 @@ MIT — see [LICENSE](https://github.com/linked-db/linked-ql?tab=MIT-1-ov-file)
224225
[npm-version-href]: https://npmjs.com/package/@linked-db/linked-ql
225226
[npm-downloads-src]: https://img.shields.io/npm/dm/@linked-db/linked-ql?style=flat&colorA=18181B&colorB=F0DB4F
226227
[npm-downloads-href]: https://npmjs.com/package/@linked-db/linked-ql
228+
[coverage-src]: https://img.shields.io/coverallsCoverage/github/linked-db/linked-ql?style=flat&colorA=18181B&colorB=F0DB4F
229+
[coverage-href]: https://coveralls.io/github/linked-db/linked-ql
227230
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@linked-db/linked-ql?style=flat&colorA=18181B&colorB=F0DB4F
228231
[bundle-href]: https://bundlephobia.com/result?p=@linked-db/linked-ql
229232
[license-src]: https://img.shields.io/github/license/linked-db/linked-ql.svg?style=flat&colorA=18181B&colorB=F0DB4F

0 commit comments

Comments
 (0)