Skip to content

Add CI workflow for running tests#461

Open
tillahoffmann wants to merge 6 commits intoonnela-lab:mainfrom
tillahoffmann:add-ci-workflow
Open

Add CI workflow for running tests#461
tillahoffmann wants to merge 6 commits intoonnela-lab:mainfrom
tillahoffmann:add-ci-workflow

Conversation

@tillahoffmann
Copy link
Copy Markdown

Summary

  • Adds a GitHub Actions CI workflow that runs the Django test suite
  • Triggers on pushes to main and pull requests targeting main
  • Sets up PostgreSQL 16 service container for the test database
  • Configures required environment variables with test values

Test plan

  • Verify the CI workflow runs successfully on this PR
  • Confirm all tests pass in the GitHub Actions environment

🤖 Generated with Claude Code

@biblicabeebli
Copy link
Copy Markdown
Member

..... yes, yes we should definitely do this.

tillahoffmann and others added 6 commits February 4, 2026 13:28
Adds a GitHub Actions workflow that:
- Triggers on pushes to main and PRs targeting main
- Sets up PostgreSQL 16 service container for test database
- Installs Python 3.12 and project dependencies
- Runs database migrations and Django test suite

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The PostgreSQL service container doesn't support SSL, so we need to
set RUNNING_IN_DOCKER=true to disable SSL requirement in Django settings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add .coveragerc with coverage configuration for source directories
- Update CI workflow to run tests with coverage
- Upload coverage artifacts (XML and HTML reports)
- Add coverage comment on PRs using py-cov-action
- Add coverage.xml to .gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants