8000 ci: fix escape flag in codecov by hanxiao · Pull Request #1635 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ci: fix escape flag in codecov #1635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,5 @@ jobs:
with:
file: coverage.xml
name: ${{ matrix.test-path }}-codecov
flags: ${{ matrix.test-path }}, core, ci, ${{ matrix.python-version }}
flags: core, ci
fail_ci_if_error: false
16 changes: 14 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import os
import random
import string
import time

import pytest
from fastapi.testclient import TestClient

from daemon.config import fastapi_config
from fastapi.testclient import TestClient
from jina.executors.metas import get_default_metas

PREFIX = fastapi_config.PREFIX
Expand Down Expand Up @@ -74,3 +74,15 @@ def pea_endpoints():
('_create', f'{PREFIX}/pea'),
('_delete', f'{PREFIX}/pea')
]


@pytest.fixture()
def docker_compose(request):
os.system(
f"docker-compose -f {request.param} --project-directory . up --build -d --remove-orphans"
)
time.sleep(10)
yield
os.system(
f"docker-compose -f {request.param} --project-directory . down --remove-orphans"
)
15 changes: 0 additions & 15 deletions tests/jinad/integration/distributed/conftest.py

This file was deleted.

0