webtestpractice/bitbucket-pipelines.yml

19 lines
492 B
YAML

image: mcr.microsoft.com/dotnet/sdk:7.0
pipelines:
branches:
main:
- step:
name: WebTest Practice Build And Test
caches:
- dotnetcore
script:
- cd MyWebApp
- dotnet build
- dotnet run &
- cd ../PlaywrightTests
- dotnet build
- pwsh bin/Debug/net7.0/playwright.ps1 install-deps
- pwsh bin/Debug/net7.0/playwright.ps1 install
- dotnet test