Update dep version that is with proper p2p code (#108) #268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |