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

SEED-platform / seed / #9383
25%

Build:
DEFAULT BRANCH: develop
Ran 24 Jul 2026 03:14AM UTC
Jobs 1
Files 785
Run time 1min
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

24 Jul 2026 02:41AM UTC coverage: 24.543% (+0.005%) from 24.538%
#9383

push

coveralls-python

web-flow
Add standalone Salesforce connection test (#5281)

* Add standalone Salesforce connection test

Adds seed/tests/test_salesforce_connection.py: a minimal, isolated
SimpleTestCase that builds Salesforce connection params from settings and
asserts test_connection() succeeds. It has no database/org/mapping setup, so
it can be run on its own to debug live Salesforce connectivity independently
of the full SalesforceViewTests suite (e.g. on Dependabot PRs or forks where
the environment/source IP differs).

The test skips when SF_* credentials are not configured, so it is a no-op in
environments without the Salesforce secrets.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Add lightweight CI job for the Salesforce connection test

Adds a dedicated `salesforce-connection` job to the CI workflow that runs
only seed/tests/test_salesforce_connection.py via pytest. Because that test is
a SimpleTestCase, pytest-django never provisions a database, so the job skips
docker/postgres/migrations entirely -- it just installs the Python deps + GDAL
and runs the single test in a couple of seconds.

This gives a clear, isolated pass/skip/fail signal for live Salesforce
connectivity, separate from the full Django test matrix. It uses the same
SF_* secrets/vars as the main django test job; when those are unavailable
(e.g. Dependabot PRs or forks) the test skips and the job passes, making that
no-op state obvious in the checks list.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Nicholas Long <nicholas.long@nrel.gov>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

7 of 17 new or added lines in 1 file covered. (41.18%)

12431 of 50649 relevant lines covered (24.54%)

0.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
41.18
seed/tests/test_salesforce_connection.py
Jobs
ID Job ID Ran Files Coverage
1 #9383.1 24 Jul 2026 03:14AM UTC 785
24.54
Source Files on build #9383
  • Tree
  • List 785
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 47202f57 on github
  • Prev Build on develop
  • Next Build on develop
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc