Skip to content

feat(ping): #41 improve logging (#49) #78

feat(ping): #41 improve logging (#49)

feat(ping): #41 improve logging (#49) #78

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
BUILD_CONFIG: release
WORKING_DIR: src/libp2p
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up .NET
uses: actions/setup-dotnet@v3
- name: Install dependencies
working-directory: ${{ env.WORKING_DIR }}
run: dotnet restore
- name: Build
working-directory: ${{ env.WORKING_DIR }}
run: dotnet build -c ${{ env.BUILD_CONFIG }} --no-restore -p:Commit=${{ github.sha }}
- name: Test
working-directory: ${{ env.WORKING_DIR }}
run: |
dotnet test Libp2p.Core.Tests -c ${{ env.BUILD_CONFIG }} --no-restore
#dotnet test Libp2p.Protocols.Multistream.Tests -c ${{ env.BUILD_CONFIG }} --no-restore
dotnet test Libp2p.Protocols.Noise.Tests -c ${{ env.BUILD_CONFIG }} --no-restore