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

graphprotocol / indexer-rs / 14311390502
64%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2025 02:18PM UTC
Jobs 1
Files 89
Run time 266min
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

07 Apr 2025 02:07PM UTC coverage: 74.327% (-1.9%) from 76.188%
14311390502

push

github

web-flow
Setup local testnet for integration testing (#679)

* feat(testing): Implement local testing environment for indexer services

Set up a comprehensive Docker-based testing environment that simulates a
production-like setup for indexer services. This includes:

- Integration with local-network components (chain, IPFS, graph-node, contracts)
- Custom services configuration with proper database migrations
- Test scripts to validate service functionality(WIP)
- Fix for database schema creation to support cost models and deny lists
- Automated service startup with correct dependency ordering(WIP)

This environment allows testing our services against real subgraphs and
contracts, providing better validation than isolated unit tests. The setup
creates a three-tier architecture that mimics production deployment.

Tests can now validate payment receipt processing and query routing in a
realistic scenario.

* fix(testing): Organize containers and configurations into its owne contrib dir

* fix(testing): add reload script and container builder script to setup local network testing

* fix(testing): Remove unnecessary tests and files

* fix(testing): Update justfile and add a Makefile(for future CI)

* feat(testing): Add a minimal workflow for integration testing using local network

* fix(service): tap-agent start script to use settings from .env variable and remove logging from indexer start script

* fix(testing): Fix docker command in makefile

* chore(testnet): Add more logs and double check for contracts to be deployed already

* fix(testing_setup): Update local network and enable missing services

* feat(local_network): Enable the gateway service

* fix(indexer-testing): Use same auth token as gateway

* fix(testing): Use reasonable values to configure RAV request in tap-agent for testing on local network

* chore(testing): Remove old testing script

* feat(testing): Add end to end testing for RAV generation

* fix(git): Add new items to gitignore

* fix(mak... (continued)

0 of 294 new or added lines in 4 files covered. (0.0%)

8868 of 11931 relevant lines covered (74.33%)

111.21 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
0.0
integration-tests/src/main.rs
26
0.0
integration-tests/src/receipt.rs
87
0.0
integration-tests/src/metrics.rs
177
0.0
integration-tests/src/rav_tests.rs
Jobs
ID Job ID Ran Files Coverage
1 14311390502.1 07 Apr 2025 02:18PM UTC 89
74.33
GitHub Action Run
Source Files on build 14311390502
  • Tree
  • List 89
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14311390502
  • 8090240d on github
  • Prev Build on main (#14193652489)
  • Next Build on main (#14315000698)
  • Delete
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

© 2025 Coveralls, Inc