-
-
Notifications
You must be signed in to change notification settings - Fork 48
56 lines (42 loc) · 1.2 KB
/
dotnetcore-ubuntu.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: .NET Core Ubuntu
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Up standalone docker-composer
run: |
cd tests/compose/standalone
docker-compose up -d
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
include-prerelease: true
- name: Install dotnet tools locally
run: dotnet tool restore
- name: Paket Install
run: dotnet paket install
- name: Dotnet Restore
run: dotnet restore
- name: Dotnet Build Release
run: dotnet build -c Release --no-restore
- name: Apt-get Install Snappy & ZSTD
run: |
sudo apt-get install -y libsnappy-dev
sudo apt-get install -y libzstd-dev
- name: Run Unit Tests
run: |
cd tests/UnitTests
dotnet run -c Release --no-build
- name: docker-compose status
run: |
cd tests/compose/standalone
docker-compose ps
docker-compose logs init
- name: Run Integration Tests
timeout-minutes: 3
run: |
cd tests/IntegrationTests
dotnet run -c Release --no-build --no-spinner --debug