Skip to content

Add GitHub Actions CI: tests and codespell - #839

Open
hieudoanm wants to merge 1 commit into
open-cogsci:nightingalefrom
hieudoanm:set-up-github-actions
Open

hieudoanm wants to merge 1 commit into
open-cogsci:nightingalefrom
hieudoanm:set-up-github-actions

Conversation

@hieudoanm

@hieudoanm hieudoanm commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

OpenSesame has a tests/ suite but no real CI — codespell only triggers on the stale milgram branch, and nothing runs tests on pushes/PRs. I notice that other open-cogsci repos (sigmund-ai, datamatrix) already have Actions set up to check their code and while working on the other PRs, I believe OpenSesame could benefit from having one as well.

Solution

  • tests.yml — pytest matrix (ubuntu/macos × py3.10/3.13) against the source tree. Linux runners install the Qt system libraries PyQt6 needs; apt sources are repointed to mirrors.kernel.org with retries because runner DNS intermittently fails for *.ubuntu.com.
  • codespell.yml — update to nightingale branch filter so it runs on all pushes and PRs to nightingale
  • .gitignore — added standard Python/Qt ignores (upstream had none).

Testing Evidence

It took a few tries but CI is running green now!

Screenshot 2026-11-11 at 16 03 22

@hieudoanm
hieudoanm force-pushed the set-up-github-actions branch 4 times, most recently from 2945f6b to 17242d3 Compare November 11, 2026 16:01
@hieudoanm
hieudoanm force-pushed the set-up-github-actions branch from 17242d3 to 2041607 Compare November 11, 2026 16:15
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