Skip to content

fix: clear template-inherited jwks rows in capy provisioning #5894

fix: clear template-inherited jwks rows in capy provisioning

fix: clear template-inherited jwks rows in capy provisioning #5894

name: Server Unit Tests
on:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
changes:
name: Check changed files
runs-on: blacksmith-2vcpu-ubuntu-2404
outputs:
server: ${{ steps.filter.outputs.server }}
steps:
- name: Check changed files
id: filter
uses: dorny/paths-filter@6852f92c20ea7fd3b0c25de3b5112db3a98da050
with:
filters: |
server:
- "server/**"
- "shared/**"
- "package.json"
- "bun.lock"
- ".github/workflows/server-unit-tests.yml"
unit-tests:
name: Unit Tests
needs: changes
if: needs.changes.outputs.server == 'true'
# 8 vcpus: the sharded suite is CPU-bound on the server import graph
# (~2s per shard, 8 shards); 4 vcpus put the test step at ~11s.
runs-on: blacksmith-8vcpu-ubuntu-2404
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.14
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run unit tests
run: bun run test:unit
working-directory: server