-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (27 loc) · 786 Bytes
/
run-tests.yml
File metadata and controls
37 lines (27 loc) · 786 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
name: run tests
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: '⚙️ Setup .NET Core'
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: '🧱 dotnet build'
run: dotnet build
working-directory: './src/AzureStorageWrapper/AzureStorageWrapper'
- name: '💾 azurite'
run: |
npm install -g azurite
mkdir -p azurite
azurite --location ./azurite --debug ./azurite/debug.log &
- name: '🚨 dotnet test'
run: dotnet test
working-directory: './src/AzureStorageWrapper/AzureStorageWrapper.Tests'