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

Refactoring tests to be more faster, more better, more stronger #141

Merged
merged 18 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,25 @@ jobs:
profile: default
toolchain: stable
override: true
- name: build and lint with clippy
run: cargo clippy
- name: Build and lint for S3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using

matrix:
  feature: ["s3", "azure"]

run: cargo clippy --features s3
- name: Build and lint for Azure
run: cargo clippy --features azure

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install minimum stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
with:
profile: default
toolchain: stable
override: true
- name: Teststack setup
run: docker-compose up setup
- name: Run tests
run: cargo test
- name: Run s3 feature tests
run: cargo test --features s3
- name: Run azure feature tests
run: cargo test --features azure

Loading
Loading