-
Notifications
You must be signed in to change notification settings - Fork 56
59 lines (49 loc) · 1.29 KB
/
services-test-hdfs.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
52
53
54
55
56
57
58
59
name: "Services Test Hdfs"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
on:
push:
paths:
- 'services/hdfs/**'
tags-ignore:
- '**'
branches:
- '**'
pull_request:
paths:
- 'services/hdfs/**'
jobs:
integration_test:
name: "Integration Test"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ "1.16", "1.17" ]
hdfs-version: [ "2.10.1", "3.2.2", "3.3.0", "3.3.1" ]
os: [ ubuntu-latest ]
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: Checkout python env
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Checkout java env
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Setup-hdfs env
uses: beyondstorage/setup-hdfs@master
with:
hdfs-version: ${{ matrix.hdfs-version }}
- name: Test
env:
STORAGE_HDFS_INTEGRATION_TEST: "on"
STORAGE_HDFS_ENDPOINT: "tcp:127.0.0.1:9000"
working-directory: services/hdfs
run: make integration_test