Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci + dotnet] Slim down the .Net CI build since most is already checked by the RBE CI build #12916

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions .github/workflows/ci-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,16 @@ jobs:
cache-key: false
os: windows
run: |
bazel build //dotnet/src/webdriver
bazel build //dotnet/src/support
bazel build //dotnet:all

integration-tests:
name: Browser Tests
needs: build
uses: ./.github/workflows/bazel.yml
strategy:
fail-fast: false
matrix:
driver:
- Chrome
- Firefox
framework:
- net48
- net6.0
include:
- driver: Chrome
browser: chrome
- driver: Firefox
browser: chrome
with:
name: Browser Tests (${{ matrix.driver }}, ${{ matrix.framework }})
browser: ${{ matrix.browser }}
name: Browser Tests
cache-key: false
java-version: 17
os: windows
run: |
bazel build //dotnet/test/common:${{ matrix.browser }}
$env:ACTIVE_DRIVER_CONFIG = '${{ matrix.driver }}'
cd dotnet
dotnet test test/common/WebDriver.Common.Tests.csproj --framework ${{ matrix.framework }}
bazel test //dotnet/test/common:ElementFindingTest-firefox //dotnet/test/common:ElementFindingTest-chrome
Loading