Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: speedup tests with rstest once fixtures (#167) #169

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: Swatinem/rust-cache@v2
if: ${{ needs.release-please.outputs.release_created }}
with:
cache-directories: |
~/.cargo/registry/src/**/librocksdb-sys-*

- name: Publish crate
if: ${{ needs.release-please.outputs.release_created }}
uses: actions-rs/cargo@v1
Expand Down
31 changes: 26 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: Swatinem/rust-cache@v2
with:
cache-directories: |
~/.cargo/registry/src/**/librocksdb-sys-*

- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
Expand All @@ -96,3 +91,29 @@ jobs:
verbose: true
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

Schema-Unchanged: # ensure schema is not changed
needs: Formatting
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
lfs: true

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Setup protoc
uses: arduino/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Check schema
run: |
cargo run --bin check-schema
cargo run -- server schema --output-file /tmp/openapi.yaml
set -e
diff openapi.yaml /tmp/openapi.yaml
Loading
Loading