Skip to content

Commit

Permalink
CI: make insta generate new snapshots in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Oct 8, 2023
1 parent 18721fc commit 8c6be28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -89,6 +89,9 @@ jobs:
# npcap is needed to run tests on Windows, so this is an unfortunate
# sacrifice we have to make in the name of security
if: (matrix.os != 'windows-latest') || (github.event_name != 'pull_request')
env:
# make insta generate new snapshots in CI
INSTA_UPDATE: new
run: cargo insta test --color=never

- name: Upload snapshots of failed tests
Expand Down

0 comments on commit 8c6be28

Please sign in to comment.