diff --git a/.github/workflows/flex-interactive.yml b/.github/workflows/flex-interactive.yml index 8bce6cf02a05..505946aa4b1d 100644 --- a/.github/workflows/flex-interactive.yml +++ b/.github/workflows/flex-interactive.yml @@ -88,8 +88,9 @@ jobs: gsctl instance destroy --type interactive -y - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 continue-on-error: true with: - file: ./coverage.xml - fail_ci_if_error: false + files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true diff --git a/.github/workflows/gae.yml b/.github/workflows/gae.yml index 87cc9d87f781..af3ccb3f66e6 100644 --- a/.github/workflows/gae.yml +++ b/.github/workflows/gae.yml @@ -92,5 +92,6 @@ jobs: uses: codecov/codecov-action@v4 continue-on-error: true with: - file: ./python/coverage.xml - fail_ci_if_error: false + files: ./python/coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true diff --git a/.github/workflows/k8s-ci.yml b/.github/workflows/k8s-ci.yml index d167e6a74004..2eff66e0a1af 100644 --- a/.github/workflows/k8s-ci.yml +++ b/.github/workflows/k8s-ci.yml @@ -501,8 +501,9 @@ jobs: uses: codecov/codecov-action@v4 continue-on-error: true with: - file: ./python/coverage.xml - fail_ci_if_error: false + files: ./python/coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true - name: HDFS test if: false # FIXME(siyuan): Open this test diff --git a/.github/workflows/local-ci.yml b/.github/workflows/local-ci.yml index a85ed99b3aa0..7db64789c3d7 100644 --- a/.github/workflows/local-ci.yml +++ b/.github/workflows/local-ci.yml @@ -79,7 +79,7 @@ jobs: - 'python/graphscope/framework/**' - 'python/graphscope/tests/unittest/**' - 'coordinator/gscoordinator/**' - - '.github/workflows/ci.yml' + - '.github/workflows/local-ci.yml' networkx: - 'analytical_engine/apps/**' - 'analytical_engine/frame/**' @@ -329,8 +329,8 @@ jobs: python-unittest: runs-on: ubuntu-20.04 - needs: [build-wheels, changes] if: ${{ github.repository == 'alibaba/GraphScope' }} + needs: [build-wheels, changes] defaults: run: shell: bash --noprofile --norc -eo pipefail {0} @@ -390,12 +390,12 @@ jobs: $(dirname $(python3 -c "import graphscope; print(graphscope.__file__)"))/tests/unittest - name: Upload Coverage - if: ${{ needs.changes.outputs.gae-python == 'true' || github.ref == 'refs/heads/main' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 continue-on-error: true with: - file: ./coverage.xml - fail_ci_if_error: false + files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true networkx-basic-test: runs-on: ubuntu-20.04 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5b3a974faf74..7fb899dfb4f5 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -70,9 +70,10 @@ jobs: make unittest - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: matrix.os == 'ubuntu-20.04' continue-on-error: true with: - file: ./python/coverage.xml - fail_ci_if_error: false + files: ./python/coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true diff --git a/python/graphscope/config.py b/python/graphscope/config.py index 909cb872f360..c0294fdb3337 100644 --- a/python/graphscope/config.py +++ b/python/graphscope/config.py @@ -39,7 +39,8 @@ class ResourceSpec: """Resource requirements for a container in kubernetes.""" - cpu: Union[str, float, None] = None # CPU cores of container. + # CPU cores of container. + cpu: Union[str, float, None] = None # Memory of container, suffix with ['Mi', 'Gi', 'Ti']. memory: Union[str, None] = None diff --git a/python/graphscope/gsctl/commands/dev.py b/python/graphscope/gsctl/commands/dev.py index 4b1ec9ad91d0..c88a7977a12c 100644 --- a/python/graphscope/gsctl/commands/dev.py +++ b/python/graphscope/gsctl/commands/dev.py @@ -272,7 +272,7 @@ def deploy( Interactive service is ready, you can connect to the interactive service with interactive sdk: Interactive Admin service is listening at - http://127.0.0.1{admin_port}, + http://127.0.0.1:{admin_port}, You can connect to admin service with Interactive SDK, with following environment variables declared. ############################################################################################