Skip to content

Commit

Permalink
Use 'cargo insta test' in Makefile's test command (astral-sh#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpryer authored Feb 26, 2024
1 parent efa31a1 commit ebedd58
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install cargo insta
uses: taiki-e/install-action@v2
with:
tool: cargo-insta
- name: Check
run: make check
- name: Test
Expand All @@ -28,6 +32,10 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install cargo insta
uses: taiki-e/install-action@v2
with:
tool: cargo-insta
- name: Check
run: make check
- name: Test
Expand All @@ -43,6 +51,10 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install cargo insta
uses: taiki-e/install-action@v2
with:
tool: cargo-insta
- name: Check
run: make check
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build:

.PHONY: test
test:
@cargo test --all
@cargo insta test --workspace --all-features

.PHONY: check
check:
Expand Down

0 comments on commit ebedd58

Please sign in to comment.