-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 854 Bytes
/
dotnet.yml
File metadata and controls
36 lines (32 loc) · 854 Bytes
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
name: .NET
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Test
run: |
dotnet build --no-restore -c Debug
dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Upload test results
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: './FastLuaTest/TestResults/*'
flags: unittests
name: codecov
fail_ci_if_error: true
verbose: false
- name: Benchmark
run: dotnet run -c Release --project FastLuaBenchmark