diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 256cfe224e1..a55405fd0e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,7 +142,7 @@ jobs: id: test run: | pytest --suppress-no-test-exit-code --cov=docarray --cov-report=xml \ - -v -s -m "not gpu" ${{ matrix.test-path }} + -v -s -m "not gpu" tests/unit/array/mixins/test_pushpull.py echo "::set-output name=codecov_flag::docarray" timeout-minutes: 30 env: diff --git a/tests/unit/array/mixins/test_pushpull.py b/tests/unit/array/mixins/test_pushpull.py index 823e463b500..bc76479a815 100644 --- a/tests/unit/array/mixins/test_pushpull.py +++ b/tests/unit/array/mixins/test_pushpull.py @@ -83,6 +83,8 @@ def _mocker(url, stream=False, headers=None): def test_push(mocker, monkeypatch): + print(os.environ['JINA_AUTH_TOKEN']) + assert os.environ['JINA_AUTH_TOKEN'] mock = mocker.Mock() _mock_post(mock, monkeypatch)