Publish of 3.0.0-preview18-final #75
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
name: Main | |
on: | |
push: | |
branches: | |
- "main" | |
- "release/**" | |
pull_request: | |
workflow_dispatch: | |
env: | |
DOTNET_NOLOGO: 1 | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
env: | |
SLN: "src/Riganti.Selenium.WithoutCoordinator.sln" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up | |
uses: ./.github/setup | |
with: | |
sln: ${{ env.SLN }} | |
- run: dotnet build ${{ env.SLN }} | |
ui-tests: | |
name: UI tests | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 50 | |
strategy: | |
fail-fast: false # don't kill tests when one environment fails | |
matrix: | |
# specify only one config, all other configurations are included explicitly | |
browser: [firefox, chrome] | |
os: [ubuntu-latest] | |
env: | |
SLN: "src/Riganti.Selenium.WithoutCoordinator.sln" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up | |
uses: ./.github/setup | |
with: | |
sln: ${{ env.SLN }} | |
- run: type firefox | |
- run: type geckodriver | |
- name: Run UI tests | |
uses: ./.github/uitest | |
with: | |
browser: ${{ matrix.browser }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
build-configuration: "${{ matrix.environment == 'Production' && 'Release' || 'Debug' }}" | |
runtime-environment: "${{ matrix.environment }}" |