Skip to content

feat: Support for o1 models #291

feat: Support for o1 models

feat: Support for o1 models #291

Workflow file for this run

name: Run UI Tests
on:
push:
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Set up nuget dependency caching for faster builds
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Set up playwright dependency caching for faster builds
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-ms-playwright-${{ hashFiles('**/.playwright/package/package.json') }}
restore-keys: |
${{ runner.os }}-ms-playwright-
- name: Start Blazor server
run: dotnet run --project ./OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj &
env:
OpenAi__DeploymentName: xxxxxxxxxample
OpenAi__Hint: xxxxxxxxxample
ConnectionStrings__openAi : Endpoint=https://myoaiservice.openai.azure.com/;Key=xxx;
- name: Build Tests
run: dotnet build ./Tests/UiTests/UiTests.csproj
- name: Install Playwright
run: dotnet tool install --global Microsoft.Playwright.CLI && playwright install --with-deps
- name: Test
run: dotnet test ./Tests/UiTests/UiTests.csproj
env:
AppUrl : http://localhost:5255
# - name: Upload artifact for deployment job
# uses: actions/upload-artifact@v3
# with:
# name: .net-app
# path: ${{env.DOTNET_ROOT}}/myapp