Skip to content

Fix example smoke tests in upstream and Windows environments - #20

Merged
jpn-- merged 1 commit into
ActivitySim:extendedfrom
driftlesslabs:fix-upstream-example-tests
Sep 22, 2026
Merged

jpn-- merged 1 commit into
ActivitySim:extendedfrom
driftlesslabs:fix-upstream-example-tests

Conversation

@jpn--

@jpn-- jpn-- commented Sep 22, 2026

Copy link
Copy Markdown
Member

The Standard 1-Zone Example job in ActivitySim's CI fails because the example's smoke tests assume they are running in its own locked environment. They require the installed development version of ActivitySim to equal the pinned release, and attempt to execute Python shebang scripts directly on Windows (WinError 193). The model/configuration tests passed in the reported failing job.

This change scopes launcher and lockfile checks to the example's explicitly selected ACTIVITYSIM_TEST_SOURCE=locked or main environment. External ActivitySim environments still run the model regression and script configuration tests. Windows launcher checks use the documented uv run --locked command; POSIX checks continue to exercise direct execution.

The existing CI workflow now includes Windows smoke coverage and checks the external-environment behavior. The README documents how to select each testing mode. No new workflow files are added.

Validation: all four CI jobs passed: full Linux regression suites and Windows smoke tests, each against the locked release and ActivitySim main. Local smoke tests also passed in the locked example environment and a separate ActivitySim development environment.

@jpn--
jpn-- merged commit 04ce2e1 into ActivitySim:extended Sep 22, 2026
4 checks 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