Bump Confluent clients to 2.6.0 #395
Workflow file for this run
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: Test | |
on: push | |
jobs: | |
test: | |
name: Run library tests | |
strategy: | |
matrix: | |
include: | |
- target: net462 | |
os: windows-latest | |
- target: net8.0 | |
- target: net9.0 | |
runs-on: ${{ matrix.os || 'ubuntu-latest' }} | |
steps: | |
- name: Pull code | |
uses: actions/checkout@v4 | |
- name: Use .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Run unit tests | |
run: | | |
set -xe | |
test_directory=tests | |
test_flags="--framework ${{ matrix.target }}" | |
dotnet test $test_flags "$test_directory\\Chr.Avro.Tests" | |
dotnet test $test_flags "$test_directory\\Chr.Avro.Binary.Tests" | |
dotnet test $test_flags "$test_directory\\Chr.Avro.Json.Tests" | |
dotnet test $test_flags "$test_directory\\Chr.Avro.Confluent.Tests" | |
dotnet test $test_flags "$test_directory\\Chr.Avro.Codegen.Tests" | |
shell: bash |