From 0f7cde24116f156ce00c97853bfcde1182ef9267 Mon Sep 17 00:00:00 2001 From: evenyag Date: Tue, 14 Mar 2023 11:46:48 +0800 Subject: [PATCH] ci: Remove api doc ci and coverage statistics --- .github/workflows/apidoc.yml | 78 +++++++++++++++++------------------ .github/workflows/develop.yml | 7 ++-- 2 files changed, 43 insertions(+), 42 deletions(-) diff --git a/.github/workflows/apidoc.yml b/.github/workflows/apidoc.yml index e5247d0de3..3213766ebc 100644 --- a/.github/workflows/apidoc.yml +++ b/.github/workflows/apidoc.yml @@ -1,42 +1,42 @@ -on: - push: - branches: - - develop - paths-ignore: - - 'docs/**' - - 'config/**' - - '**.md' - - '.dockerignore' - - 'docker/**' - - '.gitignore' +# on: +# push: +# branches: +# - develop +# paths-ignore: +# - 'docs/**' +# - 'config/**' +# - '**.md' +# - '.dockerignore' +# - 'docker/**' +# - '.gitignore' -name: Build API docs +# name: Build API docs -env: - RUST_TOOLCHAIN: nightly-2023-02-26 +# env: +# RUST_TOOLCHAIN: nightly-2023-02-26 -jobs: - apidoc: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: arduino/setup-protoc@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ env.RUST_TOOLCHAIN }} - - run: cargo doc --workspace --no-deps --document-private-items - - run: | - cat < target/doc/index.html - - - - - - - EOF - - name: Publish dist directory - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: target/doc +# jobs: +# apidoc: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: arduino/setup-protoc@v1 +# with: +# repo-token: ${{ secrets.GITHUB_TOKEN }} +# - uses: dtolnay/rust-toolchain@master +# with: +# toolchain: ${{ env.RUST_TOOLCHAIN }} +# - run: cargo doc --workspace --no-deps --document-private-items +# - run: | +# cat < target/doc/index.html +# +# +# +# +# +# +# EOF +# - name: Publish dist directory +# uses: JamesIves/github-pages-deploy-action@v4 +# with: +# folder: target/doc diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 909a46cc1a..9a01efbe37 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -213,10 +213,11 @@ jobs: python-version: '3.10' - name: Install PyArrow Package run: pip install pyarrow - - name: Install cargo-llvm-cov - uses: taiki-e/install-action@cargo-llvm-cov + # - name: Install cargo-llvm-cov + # uses: taiki-e/install-action@cargo-llvm-cov - name: Collect coverage data - run: cargo llvm-cov nextest --workspace --lcov --output-path lcov.info -F pyo3_backend + run: cargo nextest run -F pyo3_backend + # run: cargo llvm-cov nextest --workspace --lcov --output-path lcov.info -F pyo3_backend env: CARGO_BUILD_RUSTFLAGS: "-C link-arg=-fuse-ld=lld" RUST_BACKTRACE: 1