webtestpractice/bitbucket-pipelines.yml
2023-01-19 17:01:48 +00:00

19 lines
478 B
YAML

image: mcr.microsoft.com/dotnet/sdk:7.0
pipelines:
branches:
main:
- step:
name: Run The Webserver
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