File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 8
8
tags :
9
9
- ' *'
10
10
pull_request :
11
+ env :
12
+ LATEST_PY_VERSION : ' 3.12'
11
13
12
14
jobs :
13
15
tests :
@@ -35,10 +37,10 @@ jobs:
35
37
run : tox -e py
36
38
37
39
- name : Upload Results
38
- if : success()
39
- uses : codecov/codecov-action@v1
40
+ if : ${{ matrix.python-version == env.LATEST_PY_VERSION }}
41
+ uses : codecov/codecov-action@v4
40
42
with :
41
43
file : ./coverage.xml
42
44
flags : unittests
43
- name : ${{ matrix.platform }}-${{ matrix.tox-env }}
45
+ name : ${{ matrix.python-version }}
44
46
fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -77,6 +77,14 @@ def test_temporal_search_two_tailed():
77
77
assert search .start_date == utcnow
78
78
assert search .end_date is None
79
79
80
+ search = Search (collections = ["collection1" ], datetime = f"../{ utcnow_str } " )
81
+ assert search .start_date is None
82
+ assert search .end_date == utcnow
83
+
84
+ search = Search (collections = ["collection1" ], datetime = f"/{ utcnow_str } " )
85
+ assert search .start_date is None
86
+ assert search .end_date == utcnow
87
+
80
88
81
89
def test_temporal_search_open ():
82
90
# Test open date range
You can’t perform that action at this time.
0 commit comments