This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
removed parquet from gitignore #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ "main", "cli"] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: self-hosted | |
continue-on-error: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Toolchain | |
run: rustup update stable && rustup default stable && rustup component add rustfmt | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Initialize scheduler git submodules | |
run: git submodule init | |
- name: Fetch git submodules | |
run: git submodule update | |
- name: Initialize datafusion git submodules | |
run: cd arrow-datafusion && git submodule init | |
- name: Fetch datafusion git submodules | |
run: cd arrow-datafusion && git submodule update | |
- name: Format check | |
run: cargo fmt --all -- --check | |
- name: Generate code coverage | |
run: cd scheduler && cargo llvm-cov --codecov --output-path lcov.info | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage-report | |
path: scheduler/lcov.info | |
retention-days: 3 | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: bfa5f7b0-adce-4bd0-bc16-864061dbd2c9 | |
files: scheduler/lcov.info | |
name: codecov-umbrella # optional | |
fail_ci_if_error: true | |
verbose: true |