ci: fix test extraction in interop workflow
Piotr Galar committed
Feb 27, 2023 at 11:10 UTC
7cd7c67fb362ef0e807ccafc3620b6b2281586ad
1 file changed
+2
-2
.github/workflows/build.yml
+2
-2
@@ -42,7 +42,7 @@ jobs:
42
runs-on: ubuntu-latest
43
strategy:
44
matrix:
45
- includes:
45
+ include:
46
- patterns: 'exchange-files'
47
- patterns: 'exchange-files'
48
options: '-v'
@@ -75,7 +75,7 @@ jobs:
75
npm install kubo-rpc-client@^3.0.1
76
npm install ipfs-interop@^10.0.1
77
working-directory: interop
78
- - run: npx ipfs-interop -- -t node $(ls test/*.js | grep ${{ matrix.options }} '${{ matrix.patterns }}' | sed -e 's/^/-f /' | tr '\n' ' ')
78
+ - run: npx ipfs-interop -- -t node $(ls node_modules/ipfs-interop/test/*.js | grep ${{ matrix.options }} '${{ matrix.patterns }}' | sed -e 's;node_modules/ipfs-interop/;-f ;' | tr '\n' ' ')
79
env:
80
LIBP2P_TCP_REUSEPORT: false
81
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1