ci: do not run tests against go-ipfs-api
Henrique Dias committed
Oct 9, 2023 at 11:23 UTC
40d459b6938bf5a9439359053098129f99766e72
1 file changed
-37
.github/workflows/build.yml
-37
@@ -94,43 +94,6 @@ jobs:
94
working-directory: interop/packages/interop
95
env:
96
KUBO_BINARY: ${{ github.workspace }}/cmd/ipfs/ipfs
97
- go-ipfs-api:
98
- needs: [interop-prep]
99
- runs-on: ubuntu-latest
100
- timeout-minutes: 5
101
- env:
102
- TEST_DOCKER: 0
103
- TEST_FUSE: 0
104
- TEST_VERBOSE: 1
105
- TRAVIS: 1
106
- GIT_PAGER: cat
107
- IPFS_CHECK_RCMGR_DEFAULTS: 1
108
- defaults:
109
- run:
110
- shell: bash
111
- steps:
112
- - uses: actions/setup-go@v4
113
- with:
114
- go-version: ${{ env.GO_VERSION }}
115
- - uses: actions/download-artifact@v3
116
- with:
117
- name: kubo
118
- path: cmd/ipfs
119
- - run: chmod +x cmd/ipfs/ipfs
120
- - uses: actions/checkout@v4
121
- with:
122
- repository: ipfs/go-ipfs-api
123
- path: go-ipfs-api
124
- - run: cmd/ipfs/ipfs daemon --init --enable-namesys-pubsub &
125
- - run: |
126
- while ! cmd/ipfs/ipfs id --api=/ip4/127.0.0.1/tcp/5001 2>/dev/null; do
127
- sleep 1
128
- done
129
- timeout-minutes: 5
130
- - run: go test -count=1 -v ./...
131
- working-directory: go-ipfs-api
132
- - run: cmd/ipfs/ipfs shutdown
133
- if: always()
97
ipfs-webui:
98
needs: [interop-prep]
99
runs-on: ${{ fromJSON(github.repository == 'ipfs/kubo' && '["self-hosted", "linux", "x64", "2xlarge"]' || '"ubuntu-latest"') }}