Skip to content

Added TLS Tests (#107) #253

Added TLS Tests (#107)

Added TLS Tests (#107) #253

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@v4
with:
submodules: true
- name: Set up .NET
uses: actions/setup-dotnet@v4
- 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
- name: Test
working-directory: ${{ env.WORKING_DIR }}
env:
TEST_OPTS: -c ${{ env.BUILD_CONFIG }} --no-restore
run: |
dotnet test Libp2p.Core.Tests ${{ env.PACK_OPTS }}
#dotnet test Libp2p.Protocols.Multistream.Tests ${{ env.PACK_OPTS }}
dotnet test Libp2p.Protocols.Noise.Tests ${{ env.PACK_OPTS }}
dotnet test Libp2p.Protocols.Pubsub.Tests ${{ env.PACK_OPTS }}
dotnet test Libp2p.Protocols.Quic.Tests ${{ env.PACK_OPTS }}