Skip to content

Commit c85219e

Browse files
authored
CI - Check smoketests for changes (#4282)
# Description of Changes `Cargo.lock` was getting stale in our smoketests modules, because we don't check it anywhere. I added a check. # API and ABI breaking changes CI only. # Expected complexity level and risk 1 # Testing - [x] new CI step fails without the `Cargo.lock` changes (<https://github.com/clockworklabs/SpacetimeDB/actions/runs/21960035403/job/63435284426?pr=4282>) - [x] new CI step passes with the `Cargo.lock` changes --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent 15b7480 commit c85219e

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,13 @@ jobs:
164164
}
165165
cargo ci smoketests -- --test-threads=1
166166
167+
- name: Check for changes
168+
run: |
169+
tools/check-diff.sh crates/smoketests || {
170+
echo 'Error: There is a diff in the smoketests directory.'
171+
exit 1
172+
}
173+
167174
smoketests-python:
168175
needs: [lints]
169176
name: Smoketests (Python Legacy) (${{matrix.name}})

crates/smoketests/modules/Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)