webtestpractice/.gitea/workflows/msbuild.yaml

30 lines
664 B
YAML
Raw Normal View History

2024-02-27 12:10:41 +00:00
name: msbuild
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: dotnet7
steps:
- name: Prep for local builds
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts
- uses: actions/checkout@v2
2024-02-27 12:14:44 +00:00
- name: Where Am I
shell: bash
working-directory: ${{runner.workspace}}
2024-02-27 12:17:59 +00:00
run: pwd && ls -l && env
2024-02-27 12:14:44 +00:00
2024-02-27 12:10:41 +00:00
- name: Start Web
shell: bash
2024-02-27 12:17:59 +00:00
working-directory: ${{runner.workspace}}
2024-02-27 12:20:17 +00:00
run: cd MyWebApp && nohup dotnet run &
2024-02-27 12:10:41 +00:00
- name: Run Playwright Tests
shell: bash
2024-02-27 12:17:59 +00:00
working-directory: ${{runner.workspace}}
2024-02-27 12:20:17 +00:00
run: cd PlaywrightTests && dotnet test