Skip to content

client: initial work on new elapsed times for loads #1035

client: initial work on new elapsed times for loads

client: initial work on new elapsed times for loads #1035

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags-ignore:
- "v*"
- "insightapi-*"
- "mwi-*"
jobs:
server:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Server TestSuite
timeout-minutes: 10
run: |
tzutil /s "Pacific Standard Time"
dotnet test server/test --collect:"XPlat Code Coverage" --logger "console;verbosity=normal" -- xUnit.LongRunningTestSeconds=20 xUnit.DiagnosticMessages=true
- name: Upload Code Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: server/test/TestResults
flags: server-unittests
- name: API Build
run: dotnet build client/csharp-api
- name: Reverse proxy build
run: dotnet build server/reverse-proxy
client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "latest"
- name: Enable corepack
run: corepack enable
- name: Find pnpm cache
id: pnpmcache
shell: bash
run: echo "cachedir=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: ${{ steps.pnpmcache.outputs.cachedir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install client deps
run: pnpm --dir client/insight install --frozen-lockfile
- name: Client Test Suite
run: pnpm --dir client/insight run test
- name: Client Main Build
run: pnpm --dir client/insight run build
- name: Cleanup pnpm cache
run: pnpm store prune