Skip to content
34 changes: 0 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,39 +161,6 @@ jobs:
JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}"


docarray-test-uncaped: # do test without using poetry lock. This does not block ci passing
needs: [lint-ruff, check-black, import-test]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7]
test-path: [tests/integrations, tests/units, tests/documentation]
steps:
- uses: actions/checkout@v2.5.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Prepare environment
run: |
python -m pip install --upgrade pip
python -m pip install poetry
rm poetry.lock
poetry install --all-extras
poetry run pip install elasticsearch==8.6.2
sudo apt-get update
sudo apt-get install --no-install-recommends ffmpeg

- name: Test
id: test
run: |
poetry run pytest -m "not (tensorflow or benchmark or index)" ${{ matrix.test-path }} --ignore=tests/integrations/store/test_jac.py
timeout-minutes: 30
env:
JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}"


docarray-test-proto3:
needs: [lint-ruff, check-black, import-test]
runs-on: ubuntu-latest
Expand All @@ -215,7 +182,6 @@ jobs:
poetry run pip install protobuf==3.19.0 # we check that we support 3.19
sudo apt-get update
sudo apt-get install --no-install-recommends ffmpeg

- name: Test
id: test
run: |
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/uncaped.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Uncaped

on:
schedule:
- cron: '0 0,1 * * *' # Run at midnight, 1 AM UTC

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if it is okay to make the CI run at midnight, poor runner need to sleep no ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙃


jobs:
docarray-test-uncaped:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7]
test-path: [tests/integrations, tests/units, tests/documentation]
steps:
- uses: actions/checkout@v2.5.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Prepare environment
run: |
python -m pip install --upgrade pip
python -m pip install poetry
rm poetry.lock
poetry install --all-extras
poetry run pip install elasticsearch==8.6.2
sudo apt-get update
sudo apt-get install --no-install-recommends ffmpeg

- name: Test
id: test
run: |
poetry run pytest -m "not (tensorflow or benchmark or index)" ${{ matrix.test-path }} --ignore=tests/integrations/store/test_jac.py
timeout-minutes: 30
env:
JINA_AUTH_TOKEN: "${{ secrets.JINA_AUTH_TOKEN }}"