Skip to content

Merge branch 'main' of https://github.com/stebet/Stebet.SignalR.NATS #19

Merge branch 'main' of https://github.com/stebet/Stebet.SignalR.NATS

Merge branch 'main' of https://github.com/stebet/Stebet.SignalR.NATS #19

Workflow file for this run

name: Build & Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
services:
redis:
# Docker Hub image
image: nats
ports:
- 4222:4222
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore /p:ContinuousIntegrationBuild=true
- name: Test
run: dotnet test --no-build --collect:"XPlat Code Coverage" --settings Default.runsettings
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}