Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ on:
- main
- develop

permissions:
contents: read

jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest

steps:
Expand All @@ -24,11 +28,14 @@ jobs:
with:
dotnet-version: "10.0.x"

- name: Display .NET version
run: dotnet --version

- name: Restore Dependencies
run: dotnet restore
run: dotnet restore TransitPulse.slnx

- name: Build Solution
run: dotnet build --no-restore
run: dotnet build TransitPulse.slnx --no-restore --configuration Release

- name: Run Tests
run: dotnet test --no-build --verbosity normal
run: dotnet test TransitPulse.slnx --no-build --configuration Release --verbosity normal
Loading