mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Break test and coverage test into separate jobs (#949)
This commit is contained in:
parent
b8a58bbc11
commit
9c2e8bcdbc
1 changed files with 16 additions and 2 deletions
18
.github/workflows/rust.yml
vendored
18
.github/workflows/rust.yml
vendored
|
@ -75,11 +75,25 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Test
|
||||
run: cargo test --all-features
|
||||
|
||||
test-coverage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Rust
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: stable
|
||||
- name: Install Tarpaulin
|
||||
uses: actions-rs/install@v0.1
|
||||
with:
|
||||
crate: cargo-tarpaulin
|
||||
version: 0.14.2
|
||||
use-tool-cache: true
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Coverage
|
||||
if: matrix.rust == 'stable'
|
||||
run: cargo tarpaulin -o Lcov --output-dir ./coverage
|
||||
- name: Coveralls
|
||||
if: matrix.rust == 'stable'
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue