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