File tree 1 file changed +37
-0
lines changed 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Gateway Sharness
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ pull_request :
6
+ push :
7
+ branches : ['main']
8
+ paths : ['gateway/**']
9
+
10
+ jobs :
11
+ sharness :
12
+ runs-on : ubuntu-latest
13
+ defaults :
14
+ run :
15
+ shell : bash
16
+ steps :
17
+ - name : Setup Go
18
+ uses : actions/setup-go@v3
19
+ with :
20
+ go-version : 1.19.1
21
+ - name : Checkout Kubo
22
+ uses : actions/checkout@v3
23
+ with :
24
+ repository : ipfs/kubo
25
+ path : kubo
26
+ - name : Install Missing Tools
27
+ run : sudo apt install -y socat net-tools fish libxml2-utils
28
+ - name : Restore Go Cache
29
+ uses : protocol/cache-go-action@v1
30
+ with :
31
+ name : ${{ github.job }}
32
+ - name : Install sharness dependencies
33
+ run : make test_sharness_deps
34
+ working-directory : kubo
35
+ - name : Run Sharness Tests
36
+ run : find . -maxdepth 1 -name "*gateway*" -exec {} \;
37
+ working-directory : kubo/test/sharness
You can’t perform that action at this time.
0 commit comments