Boa.Constrictor.Selenium 4.2.0 #324
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs the NUnit unit tests located in the Boa.Constrictor.UnitTests project. | |
# Warning: Does not run the example tests in the Boa.Constrictor.Example project. | |
name: Run all unit tests | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Build the solution | |
run: dotnet build | |
- name: Run Screenplay unit tests | |
if: always() | |
run: dotnet test Boa.Constrictor.Screenplay.UnitTests --logger "trx;LogFileName=ScreenplayResults.trx" | |
- name: Run Selenium unit tests | |
if: always() | |
run: dotnet test Boa.Constrictor.Selenium.UnitTests --logger "trx;LogFileName=SeleniumResults.trx" | |
- name: Run RestSharp unit tests | |
if: always() | |
run: dotnet test Boa.Constrictor.RestSharp.UnitTests --logger "trx;LogFileName=RestSharpResults.trx" | |
- name: Run xUnit unit tests | |
if: always() | |
run: dotnet test Boa.Constrictor.Xunit.UnitTests --logger "trx;LogFileName=XunitResults.trx" | |
- name: Archive Screenplay unit test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Screenplay unit test results | |
path: Boa.Constrictor.Screenplay.UnitTests/TestResults/ScreenplayResults.trx | |
retention-days: 30 | |
- name: Archive Selenium unit test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Selenium unit test results | |
path: Boa.Constrictor.Selenium.UnitTests/TestResults/SeleniumResults.trx | |
retention-days: 30 | |
- name: Archive RestSharp unit test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: RestSharp unit test results | |
path: Boa.Constrictor.RestSharp.UnitTests/TestResults/RestSharpResults.trx | |
retention-days: 30 | |
- name: Archive Xunit unit test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Xunit unit test results | |
path: Boa.Constrictor.Xunit.UnitTests/TestResults/XunitResults.trx | |
retention-days: 30 |