-
Notifications
You must be signed in to change notification settings - Fork 17
67 lines (57 loc) · 1.87 KB
/
case-regression.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
60
61
62
63
64
65
66
67
name: "Bug Regression Test"
on:
pull_request:
types: [opened, reopened]
branches:
- main
env:
VERSION: 0.6.0-SNAPSHOT
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
MixCluster-ShowTimeseries:
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
java: [8]
python-version: ["3.9"]
os: [ubuntu-latest, macos-latest, windows-latest]
metadata: [zookeeper]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Environment dependence
uses: ./.github/actions/dependence
with:
python-version: ${{ matrix.python-version }}
java: ${{ matrix.java }}
- name: Run Metadata
uses: ./.github/actions/metadataRunner
with:
metadata: ${{ matrix.metadata }}
- name: Run DB
uses: ./.github/actions/dbRunner
with:
DB-name: "Mix-IoTDB12-InfluxDB"
- name: Install IGinX with Maven
shell: bash
run: |
mvn clean package -DskipTests -P-format -q
- name: Write Conf
uses: ./.github/actions/confWriter
with:
Metadata: ${{ matrix.metadata }}
- name: Start IGinX
uses: ./.github/actions/iginxRunner
- name: TestMixCluster
if: always()
shell: bash
run: |
mvn test -q -Dtest=MixClusterShowColumnsRegressionTest -DfailIfNoTests=false -P-format
- name: Show IGinX log
if: always()
shell: bash
run: |
cat iginx-*.log