Skip to content

Commit

Permalink
Testing multiple dotnet versions
Browse files Browse the repository at this point in the history
  • Loading branch information
smacadam authored Jan 22, 2025
1 parent 143a777 commit 94a7263
Showing 1 changed file with 29 additions and 13 deletions.
42 changes: 29 additions & 13 deletions .github/workflows/bfdr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,35 @@ jobs:
dotnet-version: [6.0.100]
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore bfdr-dotnet.sln
- name: Build
run: dotnet build bfdr-dotnet.sln --configuration Release --no-restore
- name: Test CLI commands
run: ./BFDR.Tests/run_tests.sh
- name: Test
run: dotnet test bfdr-dotnet.sln
# - uses: actions/checkout@v4
# - name: Setup .NET
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: ${{ matrix.dotnet-version }}
- uses: actions/checkout@v3
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 2.1.815
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.408
- name: Setup .NET Core 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.100
- name: .net Side by Side
run: |
rsync -a ${DOTNET_ROOT/3.1.408/2.1.815}/* $DOTNET_ROOT/
- name: Install dependencies
run: dotnet restore bfdr-dotnet.sln
- name: Build
run: dotnet build bfdr-dotnet.sln --configuration Release --no-restore
- name: Test CLI commands
run: ./BFDR.Tests/run_tests.sh
- name: Test
run: dotnet test bfdr-dotnet.sln
coverage:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit 94a7263

Please sign in to comment.