-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1019 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
42
name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug]
# For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
runs-on: ubuntu-22.04
env:
Solution_Name: Ek-Discord-Jester
ASP_CORE_Project_Path: EK.Discord.Server\EK.Discord.Server.csproj
steps:
# Checkout Repo
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Install the .NET SDK
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore NuGet Packages
run: dotnet restore
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test