-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (31 loc) · 1019 Bytes
/
dotnet.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
name: .NET 5 CI
on:
push:
branches: [ master ]
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.300
- name: Create config file
run: echo '<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="EmailAddress" value="${{ secrets.LIDLPLUSEMAILADDRESS }}"/>
<add key="Password" value="${{ secrets.LIDLPLUSPASSWORD }}"/>
<add key="RefreshToken" value=""/>
</appSettings>
</configuration>' > ./UnitTest/app.config
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
if: ${{ false }}
run: dotnet test --no-restore --verbosity minimal