run unit tests in ci

This commit is contained in:
JasonLandbridge
2024-09-03 16:05:02 +02:00
parent d4777cd324
commit af7c47de99

25
.github/workflows/openapi-tests.yaml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Unit Tests
"on":
pull_request:
paths:
- src/**
- tests/**
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install Dependencies
run: bun install
- name: Bundle OpenAPI Spec
run: bun run build
- name: Run Unit Tests
run: bun run test