diff --git a/.github/workflows/bumper.yml b/.github/workflows/bumper.yml index 14d5026eba..4d681bc3c1 100644 --- a/.github/workflows/bumper.yml +++ b/.github/workflows/bumper.yml @@ -1,44 +1,44 @@ -name: Bumper -on: - push: - branches: - - master - workflow_dispatch: +# name: Bumper +# on: +# push: +# branches: +# - master +# workflow_dispatch: -jobs: - bumpProjects: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - target: [ - { repo: status-im/nimbus-eth2, branch: unstable }, - { repo: waku-org/nwaku, branch: master }, - { repo: codex-storage/nim-codex, branch: master } - ] - steps: - - name: Clone repo - uses: actions/checkout@v2 - with: - repository: ${{ matrix.target.repo }} - ref: ${{ matrix.target.branch }} - path: nbc - fetch-depth: 0 - token: ${{ secrets.ACTIONS_GITHUB_TOKEN }} +# jobs: +# bumpProjects: +# runs-on: ubuntu-latest +# strategy: +# fail-fast: false +# matrix: +# target: [ +# { repo: status-im/nimbus-eth2, branch: unstable }, +# { repo: waku-org/nwaku, branch: master }, +# { repo: codex-storage/nim-codex, branch: master } +# ] +# steps: +# - name: Clone repo +# uses: actions/checkout@v2 +# with: +# repository: ${{ matrix.target.repo }} +# ref: ${{ matrix.target.branch }} +# path: nbc +# fetch-depth: 0 +# token: ${{ secrets.ACTIONS_GITHUB_TOKEN }} - - name: Checkout this ref - run: | - cd nbc - git submodule update --init vendor/nim-libp2p - cd vendor/nim-libp2p - git checkout $GITHUB_SHA +# - name: Checkout this ref +# run: | +# cd nbc +# git submodule update --init vendor/nim-libp2p +# cd vendor/nim-libp2p +# git checkout $GITHUB_SHA - - name: Commit this bump - run: | - cd nbc - git config --global user.email "${{ github.actor }}@users.noreply.github.com" - git config --global user.name = "${{ github.actor }}" - git commit --allow-empty -a -m "auto-bump nim-libp2p" - git branch -D nim-libp2p-auto-bump-${GITHUB_REF##*/} || true - git switch -c nim-libp2p-auto-bump-${GITHUB_REF##*/} - git push -f origin nim-libp2p-auto-bump-${GITHUB_REF##*/} +# - name: Commit this bump +# run: | +# cd nbc +# git config --global user.email "${{ github.actor }}@users.noreply.github.com" +# git config --global user.name = "${{ github.actor }}" +# git commit --allow-empty -a -m "auto-bump nim-libp2p" +# git branch -D nim-libp2p-auto-bump-${GITHUB_REF##*/} || true +# git switch -c nim-libp2p-auto-bump-${GITHUB_REF##*/} +# git push -f origin nim-libp2p-auto-bump-${GITHUB_REF##*/} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2cc30f74e..d0d694acd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,12 +89,6 @@ jobs: if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }} run: | nimble install_pinned - - - name: Pre Debug Info - run: | - ls -la nimbledeps || echo "" - ls -la nimbledeps/pkgs || echo "" - ls -la nimbledeps/pkgs2 || echo "" - name: Use gcc 14 if : ${{ matrix.target.os == 'ubuntu-24-gcc-14'}} @@ -104,41 +98,69 @@ jobs: # Set GCC-14 as the default sudo update-alternatives --set gcc /usr/bin/gcc-14 - - - name: Run tests - env: - CC: gcc-11 - CXX: g++-11 + + - name: Pre Debug Info run: | + which nim nim --version + which nimble nimble --version gcc --version + echo "" + echo "" + echo "" + ls -la nimbledeps || echo "" + ls -la nimbledeps/pkgs || echo "" + ls -la nimbledeps/pkgs2 || echo "" + echo "" + echo "" + echo "" + ls -la ~/.nimble || echo "" + ls -la ~/.nimble/pkgs || echo "" + ls -la ~/.nimble/pkgs2 || echo "" + + - name: Run tests + run: | nimble test - - name: Post Debug Info + - name: Pre Debug Info run: | + which nim + nim --version + which nimble + nimble --version + gcc --version + echo "" + echo "" + echo "" ls -la nimbledeps || echo "" ls -la nimbledeps/pkgs || echo "" ls -la nimbledeps/pkgs2 || echo "" + echo "" + echo "" + echo "" + ls -la ~/.nimble || echo "" + ls -la ~/.nimble/pkgs || echo "" + ls -la ~/.nimble/pkgs2 || echo "" - lint: - name: "Lint" - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base + # lint: + # name: "Lint" + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base - - name: Check nph formatting - # Pin nph to a specific version to avoid sudden style differences. - # Updating nph version should be accompanied with running the new - # version on the fluffy directory. - run: | - VERSION="v0.5.1" - ARCHIVE="nph-linux_x64.tar.gz" - curl -L "https://github.com/arnetheduck/nph/releases/download/${VERSION}/${ARCHIVE}" -o ${ARCHIVE} - tar -xzf ${ARCHIVE} - shopt -s extglob # Enable extended globbing - ./nph examples libp2p tests tools *.@(nim|nims|nimble) - git diff --exit-code + # - name: Check nph formatting + # # Pin nph to a specific version to avoid sudden style differences. + # # Updating nph version should be accompanied with running the new + # # version on the fluffy directory. + # run: | + # VERSION="v0.5.1" + # ARCHIVE="nph-linux_x64.tar.gz" + # curl -L "https://github.com/arnetheduck/nph/releases/download/${VERSION}/${ARCHIVE}" -o ${ARCHIVE} + # tar -xzf ${ARCHIVE} + # shopt -s extglob # Enable extended globbing + # ./nph examples libp2p tests tools *.@(nim|nims|nimble) + # git diff --exit-code diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 3c43efacb8..f0677a789f 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -1,64 +1,64 @@ -name: nim-libp2p codecov builds +# name: nim-libp2p codecov builds -on: - #On push to common branches, this computes the "bases stats" for PRs - push: - branches: - - master - pull_request: - workflow_dispatch: +# on: +# #On push to common branches, this computes the "bases stats" for PRs +# push: +# branches: +# - master +# pull_request: +# workflow_dispatch: -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} +# cancel-in-progress: true -jobs: - Coverage: - runs-on: ubuntu-22.04 - env: - CICOV: YES - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 +# jobs: +# Coverage: +# runs-on: ubuntu-22.04 +# env: +# CICOV: YES +# steps: +# - uses: actions/checkout@v2 +# with: +# fetch-depth: 0 - - name: Setup Nim - uses: "./.github/actions/install_nim" - with: - os: linux - cpu: amd64 - shell: bash +# - name: Setup Nim +# uses: "./.github/actions/install_nim" +# with: +# os: linux +# cpu: amd64 +# shell: bash - - name: Restore deps from cache - id: deps-cache - uses: actions/cache@v3 - with: - path: nimbledeps - key: nimbledeps-${{ hashFiles('.pinned') }} +# - name: Restore deps from cache +# id: deps-cache +# uses: actions/cache@v3 +# with: +# path: nimbledeps +# key: nimbledeps-${{ hashFiles('.pinned') }} - - name: Install deps - if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }} - run: | - nimble install_pinned +# - name: Install deps +# if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }} +# run: | +# nimble install_pinned - - name: Run - run: | - sudo apt-get update - sudo apt-get install -y lcov build-essential git curl - mkdir coverage - export NIMFLAGS="--lineDir:on --passC:-fprofile-arcs --passC:-ftest-coverage --passL:-fprofile-arcs --passL:-ftest-coverage" - nimble testnative - nimble testpubsub - nimble testfilter - find nimcache -name *.c -delete - lcov --capture --directory nimcache --output-file coverage/coverage.info - shopt -s globstar - ls `pwd`/libp2p/{*,**/*}.nim - lcov --extract coverage/coverage.info `pwd`/libp2p/{*,**/*}.nim --output-file coverage/coverage.f.info - genhtml coverage/coverage.f.info --output-directory coverage/output - bash <(curl -s https://codecov.io/bash) -f coverage/coverage.f.info || echo "Codecov did not collect coverage reports" +# - name: Run +# run: | +# sudo apt-get update +# sudo apt-get install -y lcov build-essential git curl +# mkdir coverage +# export NIMFLAGS="--lineDir:on --passC:-fprofile-arcs --passC:-ftest-coverage --passL:-fprofile-arcs --passL:-ftest-coverage" +# nimble testnative +# nimble testpubsub +# nimble testfilter +# find nimcache -name *.c -delete +# lcov --capture --directory nimcache --output-file coverage/coverage.info +# shopt -s globstar +# ls `pwd`/libp2p/{*,**/*}.nim +# lcov --extract coverage/coverage.info `pwd`/libp2p/{*,**/*}.nim --output-file coverage/coverage.f.info +# genhtml coverage/coverage.f.info --output-directory coverage/output +# bash <(curl -s https://codecov.io/bash) -f coverage/coverage.f.info || echo "Codecov did not collect coverage reports" - #- uses: actions/upload-artifact@master - # with: - # name: coverage - # path: coverage +# #- uses: actions/upload-artifact@master +# # with: +# # name: coverage +# # path: coverage diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 572b0e5548..63c4d0757f 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -1,12 +1,12 @@ -name: Daily -on: - schedule: - - cron: "30 6 * * *" - workflow_dispatch: +# name: Daily +# on: +# schedule: +# - cron: "30 6 * * *" +# workflow_dispatch: -jobs: - call-multi-nim-common: - uses: ./.github/workflows/daily_common.yml - with: - nim-branch: "['version-1-6','version-2-0']" - cpu: "['amd64']" +# jobs: +# call-multi-nim-common: +# uses: ./.github/workflows/daily_common.yml +# with: +# nim-branch: "['version-1-6','version-2-0']" +# cpu: "['amd64']" diff --git a/.github/workflows/daily_common.yml b/.github/workflows/daily_common.yml index e6a56ae402..12bcc5f2cd 100644 --- a/.github/workflows/daily_common.yml +++ b/.github/workflows/daily_common.yml @@ -1,84 +1,84 @@ -name: daily-common +# name: daily-common -on: - workflow_call: - inputs: - nim-branch: - description: 'Nim branch' - required: true - type: string - cpu: - description: 'CPU' - required: true - type: string - exclude: - description: 'Exclude matrix configurations' - required: false - type: string - default: "[]" +# on: +# workflow_call: +# inputs: +# nim-branch: +# description: 'Nim branch' +# required: true +# type: string +# cpu: +# description: 'CPU' +# required: true +# type: string +# exclude: +# description: 'Exclude matrix configurations' +# required: false +# type: string +# default: "[]" -jobs: - delete-cache: - runs-on: ubuntu-latest - steps: - - uses: snnaplab/delete-branch-cache-action@v1 +# jobs: +# delete-cache: +# runs-on: ubuntu-latest +# steps: +# - uses: snnaplab/delete-branch-cache-action@v1 - build: - needs: delete-cache - timeout-minutes: 120 - strategy: - fail-fast: false - matrix: - platform: - - os: linux - builder: ubuntu-22.04 - shell: bash - - os: macos - builder: macos-13 - shell: bash - - os: windows - builder: windows-2022 - shell: msys2 {0} - branch: ${{ fromJSON(inputs.nim-branch) }} - cpu: ${{ fromJSON(inputs.cpu) }} - exclude: ${{ fromJSON(inputs.exclude) }} +# build: +# needs: delete-cache +# timeout-minutes: 120 +# strategy: +# fail-fast: false +# matrix: +# platform: +# - os: linux +# builder: ubuntu-22.04 +# shell: bash +# - os: macos +# builder: macos-13 +# shell: bash +# - os: windows +# builder: windows-2022 +# shell: msys2 {0} +# branch: ${{ fromJSON(inputs.nim-branch) }} +# cpu: ${{ fromJSON(inputs.cpu) }} +# exclude: ${{ fromJSON(inputs.exclude) }} - defaults: - run: - shell: ${{ matrix.platform.shell }} +# defaults: +# run: +# shell: ${{ matrix.platform.shell }} - name: '${{ matrix.platform.os }}-${{ matrix.cpu }} (Nim ${{ matrix.branch }})' - runs-on: ${{ matrix.platform.builder }} - continue-on-error: ${{ matrix.branch == 'devel' || matrix.branch == 'version-2-0' }} - steps: - - name: Checkout - uses: actions/checkout@v4 +# name: '${{ matrix.platform.os }}-${{ matrix.cpu }} (Nim ${{ matrix.branch }})' +# runs-on: ${{ matrix.platform.builder }} +# continue-on-error: ${{ matrix.branch == 'devel' || matrix.branch == 'version-2-0' }} +# steps: +# - name: Checkout +# uses: actions/checkout@v4 - - name: Setup Nim - uses: "./.github/actions/install_nim" - with: - os: ${{ matrix.platform.os }} - shell: ${{ matrix.platform.shell }} - nim_branch: ${{ matrix.branch }} - cpu: ${{ matrix.cpu }} +# - name: Setup Nim +# uses: "./.github/actions/install_nim" +# with: +# os: ${{ matrix.platform.os }} +# shell: ${{ matrix.platform.shell }} +# nim_branch: ${{ matrix.branch }} +# cpu: ${{ matrix.cpu }} - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version: '~1.15.5' - cache: false +# - name: Setup Go +# uses: actions/setup-go@v4 +# with: +# go-version: '~1.15.5' +# cache: false - - name: Install p2pd - run: | - V=1 bash scripts/build_p2pd.sh p2pdCache 124530a3 +# - name: Install p2pd +# run: | +# V=1 bash scripts/build_p2pd.sh p2pdCache 124530a3 - - name: Run tests - run: | - nim --version - nimble --version - nimble install -y --depsOnly - NIMFLAGS="${NIMFLAGS} --mm:refc" nimble test - if [[ "${{ matrix.branch }}" == "devel" ]]; then - echo -e "\nTesting with '--mm:orc':\n" - NIMFLAGS="${NIMFLAGS} --mm:orc" nimble test - fi +# - name: Run tests +# run: | +# nim --version +# nimble --version +# nimble install -y --depsOnly +# NIMFLAGS="${NIMFLAGS} --mm:refc" nimble test +# if [[ "${{ matrix.branch }}" == "devel" ]]; then +# echo -e "\nTesting with '--mm:orc':\n" +# NIMFLAGS="${NIMFLAGS} --mm:orc" nimble test +# fi diff --git a/.github/workflows/daily_i386.yml b/.github/workflows/daily_i386.yml index 23aa075971..28a7629648 100644 --- a/.github/workflows/daily_i386.yml +++ b/.github/workflows/daily_i386.yml @@ -1,13 +1,13 @@ -name: Daily i386 -on: - schedule: - - cron: "30 6 * * *" - workflow_dispatch: +# name: Daily i386 +# on: +# schedule: +# - cron: "30 6 * * *" +# workflow_dispatch: -jobs: - call-multi-nim-common: - uses: ./.github/workflows/daily_common.yml - with: - nim-branch: "['version-1-6','version-2-0', 'devel']" - cpu: "['i386']" - exclude: "[{'platform': {'os':'macos'}}, {'platform': {'os':'windows'}}]" +# jobs: +# call-multi-nim-common: +# uses: ./.github/workflows/daily_common.yml +# with: +# nim-branch: "['version-1-6','version-2-0', 'devel']" +# cpu: "['i386']" +# exclude: "[{'platform': {'os':'macos'}}, {'platform': {'os':'windows'}}]" diff --git a/.github/workflows/daily_nim_devel.yml b/.github/workflows/daily_nim_devel.yml index d27ae5f1ea..8acd234155 100644 --- a/.github/workflows/daily_nim_devel.yml +++ b/.github/workflows/daily_nim_devel.yml @@ -1,12 +1,12 @@ -name: Daily Nim Devel -on: - schedule: - - cron: "30 6 * * *" - workflow_dispatch: +# name: Daily Nim Devel +# on: +# schedule: +# - cron: "30 6 * * *" +# workflow_dispatch: -jobs: - call-multi-nim-common: - uses: ./.github/workflows/daily_common.yml - with: - nim-branch: "['devel']" - cpu: "['amd64']" +# jobs: +# call-multi-nim-common: +# uses: ./.github/workflows/daily_common.yml +# with: +# nim-branch: "['devel']" +# cpu: "['amd64']" diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 42f6a88375..8800b794e3 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -1,110 +1,110 @@ -name: Docgen -on: - push: - branches: - - master - workflow_dispatch: - -jobs: - build: - timeout-minutes: 20 - - name: 'Generate & upload documentation' - runs-on: ubuntu-latest - continue-on-error: true - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - submodules: true - - - uses: jiro4989/setup-nim-action@v1 - with: - nim-version: '1.6.x' - - - name: Generate doc - run: | - nim --version - nimble --version - nimble install_pinned - # nim doc can "fail", but the doc is still generated - nim doc --git.url:https://github.com/vacp2p/nim-libp2p --git.commit:${GITHUB_REF##*/} --outdir:${GITHUB_REF##*/} --project libp2p || true - - # check that the folder exists - ls ${GITHUB_REF##*/} - - - name: Clone the gh-pages branch - uses: actions/checkout@v2 - with: - repository: vacp2p/nim-libp2p - ref: gh-pages - path: subdoc - submodules: true - fetch-depth: 0 - - - name: Commit & push - run: | - cd subdoc - - # Update / create this branch doc - rm -rf ${GITHUB_REF##*/} - mv ../${GITHUB_REF##*/} . - - # Remove .idx files - # NOTE: git also uses idx files in his - # internal folder, hence the `*` instead of `.` - find * -name "*.idx" -delete - git add . - git config --global user.email "${{ github.actor }}@users.noreply.github.com" - git config --global user.name = "${{ github.actor }}" - git commit -a -m "update docs for ${GITHUB_REF##*/}" - git push origin gh-pages - - update_site: - name: 'Rebuild website' - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - uses: actions/setup-python@v2 - with: - python-version: 3.x - - - uses: jiro4989/setup-nim-action@v1 - with: - nim-version: 'stable' - - - name: Generate website - run: pip install mkdocs-material && nimble -y website - - - name: Clone the gh-pages branch - uses: actions/checkout@v2 - with: - repository: vacp2p/nim-libp2p - ref: gh-pages - path: subdoc - fetch-depth: 0 - - - name: Commit & push - run: | - cd subdoc - - # Ensure the latest changes are fetched and reset to the remote branch - git fetch origin gh-pages - git reset --hard origin/gh-pages - - rm -rf docs - mv ../site docs - - git add . +# name: Docgen +# on: +# push: +# branches: +# - master +# workflow_dispatch: + +# jobs: +# build: +# timeout-minutes: 20 + +# name: 'Generate & upload documentation' +# runs-on: ubuntu-latest +# continue-on-error: true +# steps: +# - name: Checkout +# uses: actions/checkout@v2 +# with: +# submodules: true + +# - uses: jiro4989/setup-nim-action@v1 +# with: +# nim-version: '1.6.x' + +# - name: Generate doc +# run: | +# nim --version +# nimble --version +# nimble install_pinned +# # nim doc can "fail", but the doc is still generated +# nim doc --git.url:https://github.com/vacp2p/nim-libp2p --git.commit:${GITHUB_REF##*/} --outdir:${GITHUB_REF##*/} --project libp2p || true + +# # check that the folder exists +# ls ${GITHUB_REF##*/} + +# - name: Clone the gh-pages branch +# uses: actions/checkout@v2 +# with: +# repository: vacp2p/nim-libp2p +# ref: gh-pages +# path: subdoc +# submodules: true +# fetch-depth: 0 + +# - name: Commit & push +# run: | +# cd subdoc + +# # Update / create this branch doc +# rm -rf ${GITHUB_REF##*/} +# mv ../${GITHUB_REF##*/} . + +# # Remove .idx files +# # NOTE: git also uses idx files in his +# # internal folder, hence the `*` instead of `.` +# find * -name "*.idx" -delete +# git add . +# git config --global user.email "${{ github.actor }}@users.noreply.github.com" +# git config --global user.name = "${{ github.actor }}" +# git commit -a -m "update docs for ${GITHUB_REF##*/}" +# git push origin gh-pages + +# update_site: +# name: 'Rebuild website' +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v2 + +# - uses: actions/setup-python@v2 +# with: +# python-version: 3.x + +# - uses: jiro4989/setup-nim-action@v1 +# with: +# nim-version: 'stable' + +# - name: Generate website +# run: pip install mkdocs-material && nimble -y website + +# - name: Clone the gh-pages branch +# uses: actions/checkout@v2 +# with: +# repository: vacp2p/nim-libp2p +# ref: gh-pages +# path: subdoc +# fetch-depth: 0 + +# - name: Commit & push +# run: | +# cd subdoc + +# # Ensure the latest changes are fetched and reset to the remote branch +# git fetch origin gh-pages +# git reset --hard origin/gh-pages + +# rm -rf docs +# mv ../site docs + +# git add . - if git diff-index --quiet HEAD --; then - echo "No changes to commit" - else - git config --global user.email "${{ github.actor }}@users.noreply.github.com" - git config --global user.name "${{ github.actor }}" - - git commit -m "update website" - git push origin gh-pages - fi +# if git diff-index --quiet HEAD --; then +# echo "No changes to commit" +# else +# git config --global user.email "${{ github.actor }}@users.noreply.github.com" +# git config --global user.name "${{ github.actor }}" + +# git commit -m "update website" +# git push origin gh-pages +# fi diff --git a/.github/workflows/interop.yml b/.github/workflows/interop.yml index 90cc5fb849..bc049b4829 100644 --- a/.github/workflows/interop.yml +++ b/.github/workflows/interop.yml @@ -1,40 +1,40 @@ -name: Interoperability Testing -on: - pull_request: - push: - branches: - - master - workflow_dispatch: +# name: Interoperability Testing +# on: +# pull_request: +# push: +# branches: +# - master +# workflow_dispatch: -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} +# cancel-in-progress: true -jobs: - run-transport-interop: - name: Run transport interoperability tests - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - - name: Build image - run: docker buildx build --load -t nim-libp2p-head -f tests/transport-interop/Dockerfile . - - name: Run tests - uses: libp2p/test-plans/.github/actions/run-transport-interop-test@master - with: - test-filter: nim-libp2p-head - extra-versions: ${{ github.workspace }}/tests/transport-interop/version.json +# jobs: +# run-transport-interop: +# name: Run transport interoperability tests +# runs-on: ubuntu-22.04 +# steps: +# - uses: actions/checkout@v4 +# - uses: docker/setup-buildx-action@v3 +# - name: Build image +# run: docker buildx build --load -t nim-libp2p-head -f tests/transport-interop/Dockerfile . +# - name: Run tests +# uses: libp2p/test-plans/.github/actions/run-transport-interop-test@master +# with: +# test-filter: nim-libp2p-head +# extra-versions: ${{ github.workspace }}/tests/transport-interop/version.json - run-hole-punching-interop: - name: Run hole-punching interoperability tests - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - - name: Build image - run: docker buildx build --load -t nim-libp2p-head -f tests/hole-punching-interop/Dockerfile . - - name: Run tests - uses: libp2p/test-plans/.github/actions/run-interop-hole-punch-test@master - with: - test-filter: nim-libp2p-head - extra-versions: ${{ github.workspace }}/tests/hole-punching-interop/version.json +# run-hole-punching-interop: +# name: Run hole-punching interoperability tests +# runs-on: ubuntu-22.04 +# steps: +# - uses: actions/checkout@v4 +# - uses: docker/setup-buildx-action@v3 +# - name: Build image +# run: docker buildx build --load -t nim-libp2p-head -f tests/hole-punching-interop/Dockerfile . +# - name: Run tests +# uses: libp2p/test-plans/.github/actions/run-interop-hole-punch-test@master +# with: +# test-filter: nim-libp2p-head +# extra-versions: ${{ github.workspace }}/tests/hole-punching-interop/version.json