@cryptotaxi247 / kubo / commits / 5d6045332

ci: ensure new interop suites are executed

Piotr Galar committed Feb 27, 2023 at 10:49 UTC 5d60453326b955745be7539b4cec25c86a2e4921
1 file changed +5 -4
.github/workflows/build.yml
+5 -4
@@ -42,9 +42,10 @@ jobs:
42 runs-on: ubuntu-latest
43 strategy:
44 matrix:
45 - suites:
46 - - 'exchange-files'
47 - - 'files pin circuit ipns cid-version-agnostic ipns-pubsub pubsub'
45 + includes:
46 + - patterns: 'exchange-files'
47 + - patterns: 'exchange-files'
48 + options: '-v'
49 fail-fast: false
50 defaults:
51 run:
@@ -74,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
77 - - run: npx ipfs-interop -- -t node $(sed -e 's#[^ ]*#-f test/&.js#g' <<< '${{ matrix.suites }}')
78 + - run: npx ipfs-interop -- -t node $(ls test/*.js | grep ${{ matrix.options }} '${{ matrix.patterns }}' | sed -e 's/^/-f /' | tr '\n' ' ')
79 env:
80 LIBP2P_TCP_REUSEPORT: false
81 LIBP2P_ALLOW_WEAK_RSA_KEYS: 1