forked from beyondstorage/go-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.14 KB
/
services-test-ipfs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: "Services Test Ipfs"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
push:
paths:
- 'services/ipfs/**'
tags-ignore:
- '**'
branches:
- '**'
pull_request:
paths:
- 'services/ipfs/**'
jobs:
integration_test:
name: "Integration Test"
runs-on: ubuntu-latest
strategy:
matrix:
go: [ "1.16", "1.17" ]
ipfs: [ "0.8", "0.9" ]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up IPFS ${{ matrix.ipfs }}
uses: ibnesayeed/setup-ipfs@8f99e662ba25be9a1158fffdeea57e9024468bfd
id: ipfs_setup
with:
ipfs_version: ${{ matrix.ipfs }}
run_daemon: true
- name: Test
env:
STORAGE_IPFS_INTEGRATION_TEST: "on"
STORAGE_IPFS_ENDPOINT: "http:127.0.0.1:5001"
STORAGE_IPFS_GATEWAY: "http:127.0.0.1:8080"
working-directory: services/ipfs
run: make integration_test