Skip to content

Commit

Permalink
[ci + dotnet] Slim down the .Net CI build since most is already check…
Browse files Browse the repository at this point in the history
…ed by the RBE CI build (#12916)
  • Loading branch information
shs96c committed Oct 10, 2023
1 parent 819955b commit f6d04c8
Showing 1 changed file with 3 additions and 22 deletions.
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

0 comments on commit f6d04c8

Please sign in to comment.