Skip to content

Commit 86e77b8

Browse files
Feature issue 55 update test workflow (#56)
* update test workflow
1 parent 751fc8e commit 86e77b8

File tree

2 files changed

+86
-81
lines changed

2 files changed

+86
-81
lines changed
Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
1-
name: "CodeQL"
2-
3-
on:
4-
push:
5-
branches:
6-
- v2
7-
- master
8-
pull_request:
9-
# The branches below must be a subset of the branches above
10-
branches: [v2]
11-
schedule:
12-
- cron: "27 9 * * 1"
13-
14-
jobs:
15-
analyze:
16-
name: Analyze
17-
runs-on: ubuntu-latest
18-
permissions:
19-
actions: read
20-
contents: read
21-
security-events: write
22-
23-
strategy:
24-
fail-fast: false
25-
matrix:
26-
language: ["go"]
27-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
28-
# Learn more about CodeQL language support at https://git.io/codeql-language-support
29-
30-
steps:
31-
- name: Checkout repository
32-
uses: actions/checkout@v2
33-
34-
# Initializes the CodeQL tools for scanning.
35-
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@v1
37-
with:
38-
languages: ${{ matrix.language }}
39-
# If you wish to specify custom queries, you can do so here or in a config file.
40-
# By default, queries listed here will override any specified in a config file.
41-
# Prefix the list here with "+" to use these queries and those in the config file.
42-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
43-
44-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
45-
# If this step fails, then you should remove it and run the build manually (see below)
46-
- name: Autobuild
47-
uses: github/codeql-action/autobuild@v1
48-
49-
# ℹ️ Command-line programs to run using the OS shell.
50-
# 📚 https://git.io/JvXDl
51-
52-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
53-
# and modify them (or add more) to build your code if your project
54-
# uses a compiled language
55-
56-
#- run: |
57-
# make bootstrap
58-
# make release
59-
60-
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/analyze@v1
1+
#name: "CodeQL"
2+
#
3+
#on:
4+
# push:
5+
# branches:
6+
# - v2
7+
# - master
8+
# pull_request:
9+
# # The branches below must be a subset of the branches above
10+
# branches: [v2]
11+
# schedule:
12+
# - cron: "27 9 * * 1"
13+
#
14+
#jobs:
15+
# analyze:
16+
# name: Analyze
17+
# runs-on: ubuntu-latest
18+
# permissions:
19+
# actions: read
20+
# contents: read
21+
# security-events: write
22+
#
23+
# strategy:
24+
# fail-fast: false
25+
# matrix:
26+
# language: ["go"]
27+
# # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
28+
# # Learn more about CodeQL language support at https://git.io/codeql-language-support
29+
#
30+
# steps:
31+
# - name: Checkout repository
32+
# uses: actions/checkout@v2
33+
#
34+
# # Initializes the CodeQL tools for scanning.
35+
# - name: Initialize CodeQL
36+
# uses: github/codeql-action/init@v1
37+
# with:
38+
# languages: ${{ matrix.language }}
39+
# # If you wish to specify custom queries, you can do so here or in a config file.
40+
# # By default, queries listed here will override any specified in a config file.
41+
# # Prefix the list here with "+" to use these queries and those in the config file.
42+
# # queries: ./path/to/local/query, your-org/your-repo/queries@main
43+
#
44+
# # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
45+
# # If this step fails, then you should remove it and run the build manually (see below)
46+
# - name: Autobuild
47+
# uses: github/codeql-action/autobuild@v1
48+
#
49+
# # ℹ️ Command-line programs to run using the OS shell.
50+
# # 📚 https://git.io/JvXDl
51+
#
52+
# # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
53+
# # and modify them (or add more) to build your code if your project
54+
# # uses a compiled language
55+
#
56+
# #- run: |
57+
# # make bootstrap
58+
# # make release
59+
#
60+
# - name: Perform CodeQL Analysis
61+
# uses: github/codeql-action/analyze@v1

.github/workflows/run-tests.yml

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
name: run-tests
22

33
on:
4-
push:
5-
branches:
6-
- v1
7-
- v2
4+
workflow_dispatch:
85
pull_request:
96
branches:
10-
- v1
11-
- v2
12-
schedule:
13-
- cron: "0 9 1 * *"
7+
- develop
8+
paths-ignore:
9+
- '**.md'
1410

1511
jobs:
1612
run:
@@ -19,22 +15,31 @@ jobs:
1915
fail-fast: true
2016
matrix:
2117
go:
22-
- 1.16
23-
- 1.17
24-
- 1.18.0-beta2
25-
clickhouse:
26-
- 19.11
27-
- 20.1
28-
- 21.11
29-
- 22.1
18+
- '1.16'
19+
- '1.17'
20+
- '1.18'
21+
- '1.19'
22+
- '1.20'
23+
- '1.21'
24+
proton:
3025
- latest
3126

3227
services:
33-
clickhouse:
34-
image: yandex/clickhouse-server:${{ matrix.clickhouse }}
28+
proton:
29+
image: ghcr.io/timeplus-io/proton:${{ matrix.proton }}
3530
ports:
36-
- 9000:9000
37-
options: --ulimit nofile=262144:262144
31+
- 3218:3218 # HTTP Streaming
32+
- 8123:8123 # HTTP Snapshot
33+
- 8463:8463 # TCP Streaming
34+
- 5432:5432 # Postgres Snapshot
35+
- 7587:7587 # TCP Snapshot
36+
env:
37+
MAX_CONCURRENT_QUERIES: 100 # Default: 100
38+
MAX_CONCURRENT_SELECT_QUERIES: 100 # Default: 100
39+
MAX_CONCURRENT_INSERT_QUERIES: 100 # Default: 100
40+
MAX_CONCURRENT_STREAMING_QUERIES: 100 # Default: 100
41+
MAX_SERVER_MEMORY_USAGE_TO_RAM_RATIO: 0.9 # Default: 0.9
42+
MAX_SERVER_MEMORY_CACHE_TO_RAM_RATIO: 0.5 # Default: 0.5
3843

3944
steps:
4045
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)