add missing unit test suite
This commit is contained in:
160 files changed
+19260
-1164
No files matched your search
@@ -0,0 +1,28 @@
|
||||
name: CI
|
||||
|
||||
# Runs the unit test suite on pull requests and pushes. Only the unit tests in
|
||||
# tests/ live in this public mirror; the integration suite needs private CI
|
||||
# infrastructure and is not published here.
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
# No lockfile is published to the mirror, so resolve from package.json.
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Run unit tests
|
||||
run: bun test tests/
|
||||
Reference in new issue
Block a user