-
Notifications
You must be signed in to change notification settings - Fork 245
40 lines (30 loc) · 889 Bytes
/
test.yaml
File metadata and controls
40 lines (30 loc) · 889 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
37
38
39
40
name: NUnit Tests Workflow
on:
workflow_call:
jobs:
check:
name: Web3 tests 🕸️
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0.x' ]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: dotnet restore
- name: Lint
run: ./scripts/lint.sh ci
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Test --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal