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
16 changes: 12 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# .github/workflows/ci.yaml
# Lints and tests sibyl every time a commit is pushed to the remote repository.
# Lints and tests sibyl on pushes to main and on all pull requests.

name: CI
on: [push, pull_request]
on:
push:
branches: [main]
pull_request:
jobs:
ci:
name: CI
Expand All @@ -21,5 +24,10 @@ jobs:
run: pnpm install
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Test with Coverage
run: pnpm test:coverage
- name: Upload coverage results to Codecov
uses: codecov/codecov-action@04b047e8bb82a0c002c8312c1c880fbc6a999d45
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: postapsis/sibyl
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![POST/APSIS Sibly Page](https://img.shields.io/badge/made_by-POST%2FAPSIS-%23000000)](https://postapsis.com/sibyl)
[![sibyl License Page](https://img.shields.io/badge/license-Apache_2.0-brightgreen)](https://raw.githubusercontent.com/postapsis/sibyl/refs/heads/main/LICENSE)
[![sibyl CI Status](https://github.com/postapsis/sibyl/actions/workflows/ci.yaml/badge.svg)](https://github.com/postapsis/sibyl/actions/workflows/ci.yaml)
[![codecov](https://codecov.io/gh/postapsis/sibyl/branch/main/graph/badge.svg)](https://codecov.io/gh/postapsis/sibyl)
<br/>

---
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineConfig({
provider: "v8",
include: ["src/**/*.ts"],
exclude: ["src/@types/**/*.ts", "src/exit.ts"],
reporter: ["text", "html"],
reporter: ["text", "html", "lcov"],
},
},
});
Loading