Skip to content

ci: reuse test workflow in release so dynamodb is covered#20

Merged
SeriousBug merged 1 commit into
mainfrom
ci/release-reuses-test-workflow
May 15, 2026
Merged

ci: reuse test workflow in release so dynamodb is covered#20
SeriousBug merged 1 commit into
mainfrom
ci/release-reuses-test-workflow

Conversation

@SeriousBug
Copy link
Copy Markdown
Owner

Summary

  • The release workflow's tests job was a hand-maintained copy of test.yml that had drifted: it didn't enable backend-dynamodb or start a DynamoDB Local service, so tests/dynamodb.rs failed during release with NoMatchingBackend("dynamodb").
  • Add a workflow_call: trigger to test.yml and have release.yml invoke it via uses: ./.github/workflows/test.yml, so releases are always gated on the same backend matrix (including DynamoDB) as PRs and pushes to main. No more drift.

Test plan

  • Trigger the release workflow via workflow_dispatch on this branch and confirm the reused test job runs the full matrix (redis, dynamodb, couchdb, surrealdb, sqlite, filesystem, in-memory) and passes before the publish step.

The release workflow had a hand-maintained copy of the test job that drifted
behind test.yml and didn't enable backend-dynamodb (or start a DynamoDB Local
service), so tests/dynamodb.rs failed with NoMatchingBackend("dynamodb")
during release. Add workflow_call to test.yml and have release.yml invoke it
so a release is always gated on the same backend matrix as PRs and main.
@SeriousBug SeriousBug merged commit 9869a75 into main May 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant