Skip to content

Commit

Permalink
Merge pull request #20 from quodlibetor/better-downloads
Browse files Browse the repository at this point in the history
Add some options for downloads and change prefix output
  • Loading branch information
quodlibetor authored Feb 26, 2025
2 parents 6813927 + de6e56f commit 90ed962
Show file tree
Hide file tree
Showing 3 changed files with 407 additions and 40 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Clippy
run: cargo clippy -- -D warnings

test:
name: Test
test-integration:
name: Integration Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -51,5 +51,31 @@ jobs:
- name: Compile tests
run: cargo nextest run --verbose --no-run

- name: Run tests
run: cargo nextest run --no-fail-fast
- name: Run integration tests
run: cargo nextest run --no-fail-fast -E 'binary(integration)'

test-unit:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install cargo-nextest
uses: taiki-e/install-action@nextest

- name: Compile tests
run: cargo nextest run --verbose --no-run

- name: Run unit tests
run: cargo nextest run --no-fail-fast -E 'not binary(integration)'
Loading

0 comments on commit 90ed962

Please sign in to comment.