Skip to content

Commit

Permalink
Merge pull request #202 from EspressoSystems/feat/versions
Browse files Browse the repository at this point in the history
Support multiple versions of the same API
  • Loading branch information
jbearer authored Mar 27, 2024
2 parents 828353e + 3882a1f commit c2977e4
Show file tree
Hide file tree
Showing 16 changed files with 2,123 additions and 544 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- release-*
pull_request:
workflow_dispatch:
env:
RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\""

jobs:
build:
Expand Down Expand Up @@ -38,8 +40,8 @@ jobs:
- name: Test
run: |
cargo test --workspace --release --no-run
cargo test --workspace --release --verbose -- --test-threads 2
cargo test --workspace --release --all-features --no-run
cargo test --workspace --release --all-features --verbose -- --test-threads 2
timeout-minutes: 30

- name: Generate Documentation
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
- main
- release-*
workflow_dispatch:
env:
RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\""

jobs:
windows:
Expand All @@ -35,6 +37,6 @@ jobs:
- name: Test
run: |
cargo test --workspace --release --no-run
cargo test --workspace --release --verbose -- --test-threads 2
cargo test --workspace --release --all-features --no-run
cargo test --workspace --release --all-features --verbose -- --test-threads 2
timeout-minutes: 30
4 changes: 3 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
workflow_dispatch:
env:
RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\""

jobs:
coverage:
Expand All @@ -24,7 +26,7 @@ jobs:
- name: Generate code coverage
run: |
mkdir coverage
cargo llvm-cov --workspace --lcov --output-path ./coverage/lcov.info
cargo llvm-cov --workspace --all-features --lcov --output-path ./coverage/lcov.info
timeout-minutes: 240

- name: Coveralls upload
Expand Down
Loading

0 comments on commit c2977e4

Please sign in to comment.