forked from nickelc/modio.net
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 1020 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Primary Test pipeline for Modio.NET
name: Test CI
# Triggers defined for this workflow
on:
# Handle pushes or pull requests to the main branch
push:
branches:
- main
pull_request:
branches:
- main
# All jobs defined by this workflow
jobs:
# Perform a basic build and automatic testing
build-and-test:
runs-on: ubuntu-latest
steps:
# Checkout our application source code
- uses: actions/checkout@v3
# Install our required dotnet version
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
# Restore any configured NuGet dependencies
- name: Restore dependencies
run: dotnet restore ./Modio.NET.sln
# Perform a basic solution build`
- name: Build
run: dotnet build ./Modio.NET.sln --no-restore
# Perform any configured solution tests
- name: Test
run: dotnet test ./Modio.NET.sln --no-build --verbosity normal