|
| 1 | +# Copyright 2025 Google LLC |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +name: Windows Selenium C#.NET |
| 16 | + |
| 17 | +on: |
| 18 | + push: |
| 19 | + paths: |
| 20 | + - 'windows-selenium-csharp/**' |
| 21 | + - '.github/workflows/windows-selenium-csharp.yml' |
| 22 | + pull_request: |
| 23 | + paths: |
| 24 | + - 'windows-selenium-csharp/**' |
| 25 | + - '.github/workflows/windows-selenium-csharp.yml' |
| 26 | + |
| 27 | +defaults: |
| 28 | + run: |
| 29 | + working-directory: windows-selenium-csharp |
| 30 | + |
| 31 | + |
| 32 | +jobs: |
| 33 | + test: |
| 34 | + runs-on: windows-latest |
| 35 | + |
| 36 | + steps: |
| 37 | + - uses: actions/checkout@v4 |
| 38 | + |
| 39 | + - name: Set up .NET |
| 40 | + uses: actions/setup-dotnet@v4 |
| 41 | + with: |
| 42 | + dotnet-version: '8.0.x' |
| 43 | + |
| 44 | + - name: Install dependencies |
| 45 | + run: dotnet restore |
| 46 | + |
| 47 | + - name: Run tests |
| 48 | + run: dotnet test --no-restore --logger:"console;verbosity=detailed" |
| 49 | + |
| 50 | + - name: Dump log |
| 51 | + if: always() |
| 52 | + run: cat d:\\chromedriver.log |
0 commit comments