Skip to content

Commit 5803207

Browse files
committed
feat: add end-to-end testing workflow in GitHub Actions
1 parent 29a47a0 commit 5803207

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,18 @@ jobs:
1717
dotnet-version: 9.0.x
1818
- name: Test
1919
run: ./build.sh test
20+
e2e-test:
21+
timeout-minutes: 60
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Setup dotnet
26+
uses: actions/setup-dotnet@v4
27+
with:
28+
dotnet-version: 9.0.x
29+
- name: Build & Install
30+
run: ./build.sh build
31+
- name: Installing chromium browser
32+
run: dotnet run --project src/testr.Cli/testr.Cli.csproj -- playwright -c install -o chromium
33+
- name: Run test case TC-Documents-001
34+
run: dotnet run --project src/testr.Cli/testr.Cli.csproj -- run "https://commitquality.com" -tc "TC-Documents-001" -i "samples/Definitions/commitquality/" -o "samples/Runs/commitquality/"

0 commit comments

Comments
 (0)