Skip to content

Test Project CI

Test Project CI #6

Workflow file for this run

name: Test Project CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: # this command allows manually triggering from GitHub Actions tab.
jobs:
build:
name: Build and tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no--restore
- name: Run tests
run: dotnet test --no-build