File tree 3 files changed +21
-12
lines changed
3 files changed +21
-12
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ - name : Setup .NET SDK
11
+ uses : actions/setup-dotnet@v3
12
+ with :
13
+ dotnet-version : 6.x
14
+ - name : Restore
15
+ run : dotnet restore
16
+ - name : Build
17
+ run : dotnet build --no-restore
18
+ - name : Test
19
+ run : dotnet test --no-restore --collect "XPlat Code Coverage"
20
+ - name : Upload code coverage to Codecov
21
+ run : bash <(curl -s https://codecov.io/bash)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
# The Algorithms - C#
4
4
5
5
[ ![ Discord chat] ( https://img.shields.io/discord/808045925556682782.svg?logo=discord&colorB=7289DA )] ( https://discord.gg/c7MnfGFGa6 )
6
- [ ![ Build Status] ( https://app.travis-ci.com/TheAlgorithms/C-Sharp.svg?branch=master )] ( https://app.travis-ci.com/TheAlgorithms/C-Sharp )
7
6
[ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/58895a2795bd48a8b3b7eb6ebe22d576 )] ( https://www.codacy.com/gh/TheAlgorithms/C-Sharp/dashboard?utm_source=github.com& ; utm_medium=referral& ; utm_content=TheAlgorithms/C-Sharp& ; utm_campaign=Badge_Grade )
8
7
[ ![ codecov] ( https://codecov.io/gh/TheAlgorithms/C-Sharp/branch/master/graph/badge.svg )] ( https://codecov.io/gh/TheAlgorithms/C-Sharp )
9
8
[ ![ Donate] ( https://liberapay.com/assets/widgets/donate.svg )] ( https://liberapay.com/TheAlgorithms/donate )
You can’t perform that action at this time.
0 commit comments