• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaMathias / moolah
4%

Build:
DEFAULT BRANCH: main
Repo Added 31 Aug 2025 09:48PM UTC
Files 135
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • 12-enhance-account-model-with-account-types
  • 13-budget-category-system
  • 14-life-area-category-hierarchy
  • 15-create-tag-system
  • 16-create-transaction-wrapper-model
  • 17-create-core-investment-resource
  • 18-create-investment-history-operations-tracking
  • 20251209-update-dependencies
  • codex/agent-env-setup
  • copilot/increase-test-coverage
  • copilot/increase-test-coverage-excoveralls
  • copilot/set-up-copilot-instructions
  • handle-beacon
  • improve-copilot-setup
  • renovate/actions-cache-5.x
  • renovate/actions-checkout-5.x
  • renovate/actions-checkout-6.x
  • renovate/ash-3.x-lockfile
  • renovate/ash_admin-0.x-lockfile
  • renovate/ash_authentication-4.x-lockfile
  • renovate/ash_authentication_phoenix-2.x-lockfile
  • renovate/ash_double_entry-1.x-lockfile
  • renovate/ash_money-0.x-lockfile
  • renovate/ash_oban-0.x
  • renovate/ash_phoenix-2.x-lockfile
  • renovate/ash_postgres-2.x-lockfile
  • renovate/bandit-1.x-lockfile
  • renovate/credo-1.x-lockfile
  • renovate/ecto_sql-3.x-lockfile
  • renovate/elixir-1.x
  • renovate/erlang-28.x
  • renovate/ex_cldr-2.x-lockfile
  • renovate/ex_cldr_dates_times-2.x-lockfile
  • renovate/heroicons-2.x
  • renovate/lazy_html-0.x-lockfile
  • renovate/live_debugger-0.x
  • renovate/live_debugger-0.x-lockfile
  • renovate/node-22.x
  • renovate/node-24.x
  • renovate/oban_web-2.x-lockfile
  • renovate/phoenix-1.x-lockfile
  • renovate/phoenix_live_reload-1.x-lockfile
  • renovate/phoenix_live_view-1.x-lockfile
  • renovate/postgres-18.x
  • renovate/swoosh-1.x-lockfile
  • renovate/tidewave-0.x
  • setup-ci-and-excoveralls
  • update-dependencies
  • update-deps
  • update-readme

05 Feb 2026 03:52PM UTC coverage: 4.282% (+0.9%) from 3.34%
438d0c353976b21477dcfd74b4fbfd9cf497aed8

push

github

web-flow
Investment Transfers, Operations, and Currency Guardrails (#74)

* Create `ValidateHistoryCurrency` module for investment history validation

Adds the `Moolah.Finance.Validations.ValidateHistoryCurrency` module to ensure that investment history values use the same currency as the parent investment. The validation checks the currency of the `value` against the investment's `current_value` currency. If the investment cannot be loaded or the value is not a valid money struct, it returns `:ok`. Otherwise, it returns an error if the currencies do not match, providing a descriptive message.

* Create `ValidateOperationCurrency` module for investment operation currency validation

Ensures that the operation value currency matches the currency of the parent investment. The module loads the investment using `investment_id` and compares the operation `value` currency against the investment's `current_value` currency. Returns `:ok` if the currencies align or if the investment cannot be loaded. Returns an error message if the currencies differ, indicating that the currency must match the investment currency.

* Create `ValidateTransactionInvestmentTarget` module for transfer transaction validation

This module validates that transfer transactions target a valid investment when an investment account is involved. It enforces the following behaviors:
1. `target_investment_id` is only allowed for `:transfer` transactions.
2. If a transfer involves an investment account, `target_investment_id` is required.
3. The selected investment must belong to the investment account involved in the transfer.

The validation returns `:ok` when account or investment lookups fail, allowing relationship validations to handle missing data.

* Create `CreateInvestmentOperationFromTransaction` module for investment operation creation

Adds functionality to create investment operations for transfer transactions involving investment accounts. This module runs after a transaction is created... (continued)

111 of 114 new or added lines in 5 files covered. (97.37%)

470 of 10977 relevant lines covered (4.28%)

1.15 hits per line

Relevant lines Covered
Build:
Build:
10977 RELEVANT LINES 470 COVERED LINES
1.15 HITS PER LINE
Source Files on main
  • Tree
  • List 135
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
438d0c35... main Investment Transfers, Operations, and Currency Guardrails (#74) * Create `ValidateHistoryCurrency` module for investment history validation Adds the `Moolah.Finance.Validations.ValidateHistoryCurrency` module to ensure that investment history va... push 05 Feb 2026 03:57PM UTC web-flow github
4.28
48f2ca0f... main chore(deps): update dependency ash_postgres to v2.6.30 (#57) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> push 04 Feb 2026 04:18PM UTC web-flow github
3.34
85cf37a8... main Add test coverage for security, authentication, and telemetry modules (#71) * Initial plan * Add initial domain and security tests - Secrets and LiveUserAuth now covered Co-authored-by: JuliaMathias <13082963+JuliaMathias@users.noreply.github.c... push 04 Feb 2026 04:08PM UTC web-flow github
3.34
639c8604... main chore(deps): update dependency ash to v3.14.1 (#62) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> push 04 Feb 2026 03:58PM UTC web-flow github
3.24
4e02c1e8... main Add GitHub Copilot instructions (#73) * Initial plan * Add comprehensive GitHub Copilot instructions file Co-authored-by: JuliaMathias <13082963+JuliaMathias@users.noreply.github.com> * Soften language around @apply directive per review feedba... push 04 Feb 2026 03:32PM UTC web-flow github
3.24
259a31d8... main Add test coverage for validation, change, action, and ledger modules (#64) * Initial plan * Add comprehensive test coverage for validations, changes, actions, and ledger modules Co-authored-by: JuliaMathias <13082963+JuliaMathias@users.noreply.... push 04 Feb 2026 02:47PM UTC web-flow github
3.24
046f1a99... main Add Copilot setup workflow (#68) * Add Copilot setup workflow Creates a new GitHub Actions workflow for setting up the Copilot agent environment. This workflow includes steps for checking out the code, reading tool versions from `.tool-versions`... push 04 Feb 2026 02:02PM UTC web-flow github
3.22
c13d3253... main Create core investments resource with history and operations (#67) * Add guideline for referencing GitHub issues Adds a new guideline to the project documentation specifying that when a task references a GitHub issue, the issue text should be fe... push 04 Feb 2026 03:07AM UTC web-flow github
3.22
68fd11cd... main Add devcontainer for agent-friendly setup (#66) * Add devcontainer scaffolding Adds a Dev Container configuration with an Elixir/Erlang base image, a Postgres service, and a post-create bootstrap script. This provides a reproducible environment ... push 03 Feb 2026 09:09PM UTC web-flow github
2.59
0ce36cb3... main Create tag system for transactions (Issue #15) (#65) * Add .env to .gitignore Adds the `.env` file to the `.gitignore` to prevent sensitive environment configuration from being tracked in the repository. This change helps maintain security and c... push 03 Feb 2026 05:13PM UTC web-flow github
2.59
See All Builds (323)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc