Skip to content

Commit e45f652

Browse files
xiezhx9hezhangjian
andauthored
ci: update Github Actions to use new repository path (#71)
Signed-off-by: xiezhengxiong <[email protected]> Co-authored-by: Zhangjian He <[email protected]>
1 parent 131f58c commit e45f652

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/license_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: licenselint
27-
uses: shoothzj/licenselint@main
27+
uses: hezhangjian/licenselint@main
2828
with:
2929
author: openGemini Authors

.github/workflows/line_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: linelint
27-
uses: shoothzj/linelint@main
27+
uses: hezhangjian/linelint@main

.github/workflows/py_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
- name: Install dependencies
2626
run: pip3 install -r requirements.txt
2727
- name: setup OpenGemini
28-
uses: shoothzj/setup-opengemini-action@main
28+
uses: hezhangjian/setup-opengemini-action@main
2929
- name: Run unit tests
3030
run: python -m unittest discover opengemini_client -p '*_test.py'

opengemini_client/query_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_query_show_with_result_any(self):
4343
fields={'x': 12.0, 'y': 4.0}, tags={'location': 'xy'},
4444
timestamp=datetime.datetime.now())
4545
cli.write_batch_points("show_test", models.BatchPoints(points=[point]))
46-
time.sleep(3)
46+
time.sleep(5)
4747
values_results = cli.show_tag_keys('show_test', 'show tag keys from show_mm')
4848
print(values_results)
4949
self.assertEqual(len(values_results), 1)
@@ -66,7 +66,7 @@ def test_query_show_with_result_key_value(self):
6666
fields={'x': 12.0, 'y': 4.0}, tags={'location': 'gz'},
6767
timestamp=datetime.datetime.now())
6868
cli.write_batch_points("show_test1", models.BatchPoints(points=[point1, point2]))
69-
time.sleep(3)
69+
time.sleep(5)
7070
values_results = cli.show_tag_values('show_test1', 'show tag values from show_mm with key=location')
7171
print(values_results)
7272
self.assertEqual(len(values_results), 1)

opengemini_client/write_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_write_batch_points_success(self):
2929
point = models.Point(measurement='write_mm', precision=models.Precision.PrecisionSecond,
3030
fields={'x': 12.0, 'y': 4.0}, tags={'a': 'ax', 'b': 'bx'}, timestamp=datetime.now())
3131
cli.write_batch_points("write_test", models.BatchPoints(points=[point]))
32-
time.sleep(3)
32+
time.sleep(5)
3333
qr = cli.query(models.Query(database='write_test', command='select * from write_mm', retention_policy=''))
3434
print(qr)
3535
self.assertNotEqual(len(qr.results), 0)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ long_description = file: README.md
66
long_description_content_type = text/markdown
77
url = https://github.com/openGemini/opengemini-client-python.git
88
author = ZhangJian He
9-
author_email = shoothzj@gmail.com
9+
author_email = hezhangjian97@gmail.com
1010
license = Apache License 2.0
1111

1212
[options]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
setup(
1818
name="opengemini_client",
1919
version="0.0.1",
20-
author="shoothzj",
21-
author_email="shoothzj@gmail.com",
20+
author="hezhangjian",
21+
author_email="hezhangjian97@gmail.com",
2222
description="A Python package for interacting with the opengemini",
2323
long_description_content_type="text/markdown",
2424
url="https://github.com/openGemini/opengemini-client-python.git",

0 commit comments

Comments
 (0)