webtestpractice/bitbucket-pipelines.yml

21 lines
473 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 run &
2023-01-19 16:10:06 +00:00
- step:
name: Run the Playwright Tests
2023-01-19 16:17:21 +00:00
caches:
- dotnetcore
script:
2023-01-19 16:10:06 +00:00
- cd PlaywrightTests
- pwsh bin/Debug/net7.0/playwright.ps1 install
2023-01-19 16:10:06 +00:00
- dotnet test