Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0bcc956

Browse filesBrowse files
authored
refactor: uncaped tests as a nightly job (#1540)
Signed-off-by: jupyterjazz <saba.sturua@jina.ai>
1 parent 9b5cbed commit 0bcc956
Copy full SHA for 0bcc956

2 files changed

+37-34Lines changed: 37 additions & 34 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
-34Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -161,39 +161,6 @@ jobs:
161161
JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}"
162162

163163

164-
docarray-test-uncaped: # do test without using poetry lock. This does not block ci passing
165-
needs: [lint-ruff, check-black, import-test]
166-
runs-on: ubuntu-latest
167-
strategy:
168-
fail-fast: false
169-
matrix:
170-
python-version: [3.7]
171-
test-path: [tests/integrations, tests/units, tests/documentation]
172-
steps:
173-
- uses: actions/checkout@v2.5.0
174-
- name: Set up Python ${{ matrix.python-version }}
175-
uses: actions/setup-python@v4
176-
with:
177-
python-version: ${{ matrix.python-version }}
178-
- name: Prepare environment
179-
run: |
180-
python -m pip install --upgrade pip
181-
python -m pip install poetry
182-
rm poetry.lock
183-
poetry install --all-extras
184-
poetry run pip install elasticsearch==8.6.2
185-
sudo apt-get update
186-
sudo apt-get install --no-install-recommends ffmpeg
187-
188-
- name: Test
189-
id: test
190-
run: |
191-
poetry run pytest -m "not (tensorflow or benchmark or index)" ${{ matrix.test-path }} --ignore=tests/integrations/store/test_jac.py
192-
timeout-minutes: 30
193-
env:
194-
JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}"
195-
196-
197164
docarray-test-proto3:
198165
needs: [lint-ruff, check-black, import-test]
199166
runs-on: ubuntu-latest
@@ -215,7 +182,6 @@ jobs:
215182
poetry run pip install protobuf==3.19.0 # we check that we support 3.19
216183
sudo apt-get update
217184
sudo apt-get install --no-install-recommends ffmpeg
218-
219185
- name: Test
220186
id: test
221187
run: |
Collapse file

‎.github/workflows/uncaped.yml‎

Copy file name to clipboard
+37Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Uncaped
2+
3+
on:
4+
schedule:
5+
- cron: '0 0,1 * * *' # Run at midnight, 1 AM UTC
6+
7+
jobs:
8+
docarray-test-uncaped:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
python-version: [3.7]
14+
test-path: [tests/integrations, tests/units, tests/documentation]
15+
steps:
16+
- uses: actions/checkout@v2.5.0
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Prepare environment
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install poetry
25+
rm poetry.lock
26+
poetry install --all-extras
27+
poetry run pip install elasticsearch==8.6.2
28+
sudo apt-get update
29+
sudo apt-get install --no-install-recommends ffmpeg
30+
31+
- name: Test
32+
id: test
33+
run: |
34+
poetry run pytest -m "not (tensorflow or benchmark or index)" ${{ matrix.test-path }} --ignore=tests/integrations/store/test_jac.py
35+
timeout-minutes: 30
36+
env:
37+
JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.