Skip to content

Commit

Permalink
Use cargo-nextest in test-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jul 25, 2022
1 parent b7bfdb2 commit f31dd47
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Install build requirements
run: |
set -ex
apk add cargo python3-dev libffi-dev py3-pip
apk add cargo python3-dev libffi-dev py3-pip curl bash
pip3 install cffi virtualenv
- name: Cache cargo build
uses: Swatinem/rust-cache@v1
Expand All @@ -204,10 +204,14 @@ jobs:
with:
path: test-crates/targets
key: test-crates-${{ runner.os }}-alpine-${{ hashFiles('test-crates/*/Cargo.lock') }}
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
env:
CARGO_HOME: /usr/local
- name: cargo test
run: |
# unset GITHUB_ACTIONS env var to disable zig related tests
env -u GITHUB_ACTIONS cargo test
env -u GITHUB_ACTIONS cargo nextest run --features password-storage
test-auditwheel:
name: Test Auditwheel
Expand Down

0 comments on commit f31dd47

Please sign in to comment.