webtestpractice/bitbucket-pipelines.yml

19 lines
478 B
YAML
Raw Normal View History

image: mcr.microsoft.com/dotnet/sdk:7.0
2023-01-19 16:17:21 +00:00
2023-01-19 16:10:06 +00:00
pipelines:
branches:
2023-01-19 16:11:54 +00:00
main:
2023-01-19 16:10:06 +00:00
- step:
name: Run The Webserver
2023-01-19 16:17:21 +00:00
caches:
- dotnetcore
2023-01-19 16:10:06 +00:00
script:
- cd MyWebApp
- dotnet build
- dotnet run &
2023-01-19 17:01:48 +00:00
- cd ../PlaywrightTests
- dotnet build
- pwsh bin/Debug/net7.0/playwright.ps1 install-deps
- pwsh bin/Debug/net7.0/playwright.ps1 install
2023-01-19 16:10:06 +00:00
- dotnet test