-
-
Notifications
You must be signed in to change notification settings - Fork 48
53 lines (40 loc) · 1.14 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
name: .NET Core Ubuntu
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Up standalone docker-composer
run: |
cd tests/compose/standalone
docker-compose up -d
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
include-prerelease: true
- name: Install dotnet tools locally
run: dotnet tool restore
- 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