feat: Debug Mode toggle for Tests #401
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: Driver tests | |
on: | |
pull_request: | |
paths: | |
- '**/*.cs' | |
- '**/*.csproj' | |
- '**/*.sln' | |
jobs: | |
dotnet-test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
dotnet-version: [ '6.0.x', '8.0.x' ] | |
services: | |
fauna: | |
image: fauna/faunadb | |
ports: | |
- 8443:8443 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal |