webtestpractice/bitbucket-pipelines.yml

20 lines
417 B
YAML

image: mcr.microsoft.com/dotnet/sdk:7.0
pipelines:
branches:
main:
- step:
name: Run The Webserver
caches:
- dotnetcore
script:
- cd MyWebApp
- sh dotnet run &
- step:
name: Run the Playwright Tests
caches:
- dotnetcore
script:
- cd PlaywrightTests
- dotnet test