Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
add batcher to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jun 6, 2024
1 parent 61adf9b commit 69a3582
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml → .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Run tests
run: cargo test --all --verbose
33 changes: 33 additions & 0 deletions .github/workflows/batcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Rust

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Install Rust toolchain
run: rustup default nightly

- name: Install cargo-hack
run: cargo install cargo-hack

- name: All
working-directory: ./batcher
run: cargo test --all-features

- name: Powerset
working-directory: ./batcher
run: cargo hack test --feature-powerset --lib

- name: Minimal versions
working-directory: ./batcher
run: cargo hack test --feature-powerset --lib -Z minimal-versions

0 comments on commit 69a3582

Please sign in to comment.