diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2023-10-08 10:25:54 +0800 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2023-10-08 10:25:54 +0800 |
commit | 8c6be282a530b14f80854766275f6a27f7dfa31e (patch) | |
tree | 0d8195462a34b86a05853f1c98c8bfd446457506 | |
parent | 18721fcef60719b70d2f7a955df6b111b44e0897 (diff) |
CI: make insta generate new snapshots in CI
See https://github.com/mitsuhiko/insta/issues/411
-rw-r--r-- | .github/workflows/ci.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 46a953e..cc7ea17 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 |