| 1 | name: Test (Linux) |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ main ] |
| 6 | pull_request: |
| 7 | branches: [ main ] |
| 8 | |
| 9 | env: |
| 10 | CARGO_TERM_COLOR: always |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | |
| 15 | runs-on: ubuntu-latest |
| 16 | |
| 17 | steps: |
| 18 | - uses: actions/checkout@v4 |
| 19 | |
| 20 | - name: Test [no features] |
| 21 | run: cargo test --verbose |
| 22 | |
| 23 | - name: Test ['chrono' feature] |
| 24 | run: cargo test --verbose --features chrono |
| 25 | |
| 26 | - name: Test ['tokio' feature] |
| 27 | run: cargo test --verbose --features tokio |
| 28 | |
| 29 | - name: Test ['tokio-fs' feature] |
| 30 | run: cargo test --verbose --features tokio-fs |
| 31 | |
| 32 | - name: Test ['deflate' feature] |
| 33 | run: cargo test --verbose --features deflate |
| 34 | |
| 35 | - name: Test ['bzip2' feature] |
| 36 | run: cargo test --verbose --features bzip2 |
| 37 | |
| 38 | - name: Test ['lzma' feature] |
| 39 | run: cargo test --verbose --features lzma |
| 40 | |
| 41 | - name: Test ['zstd' feature] |
| 42 | run: cargo test --verbose --features zstd |
| 43 | |
| 44 | - name: Test ['xz' feature] |
| 45 | run: cargo test --verbose --features xz |
| 46 | |
| 47 | - name: Test ['deflate64' feature] |
| 48 | run: cargo test --verbose --features deflate64 |
| 49 | |
| 50 | - name: Test ['full' feature] |
| 51 | run: cargo test --verbose --features full |