🧙♂️Initial Project Setup #3
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: Unit Tests | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: {} | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
dotnet-version: ["6.0.201", "7.0.100", "8.0.100"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-version } | ||
Check failure on line 21 in .github/workflows/unittests.yml GitHub Actions / Unit TestsInvalid workflow file
|
||
- name: Install dependencies | ||
working-directory: CutoverTasks | ||
run: dotnet restore CutoverTasks.sln | ||
- name: Build | ||
working-directory: CutoverTasks | ||
run: dotnet build --no-restore | ||
- name: Run Unit Tests | ||
working-directory: CutoverTasks/UnitTests | ||
run: | | ||
dotnet test |