chainlink-testing-framework
chainlink-testing-framework copied to clipboard
try build Chainlink
Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.
Why
The changes introduce a new GitHub Actions workflow for Docker cache testing, alongside adding configuration and test files for a sample project in the framework. This setup aims to streamline development and testing processes by leveraging Docker caching mechanisms and setting up a structured example project with blockchain and node configurations.
What
-
.github/workflows/framework-build-cache.yml
- Added a new GitHub Actions workflow for testing Docker cache in the framework examples project. This includes setup steps for Go, caching Go modules, checking out the Chainlink repository, and running system tests with specific configurations.
-
framework/examples/myproject/build.toml
- Introduced a new TOML configuration file specifying blockchain settings (using Anvil), data provider configurations, and node set details including a PostgreSQL database image and Docker context for Chainlink nodes. This config is pivotal for setting up the project's blockchain environment.
-
framework/examples/myproject/build_test.go
- Added a new Go test file that leverages the Chainlink testing framework to load the project configuration from
build.tomland initialize a blockchain network and node set based on the provided configurations. This test validates the project setup and configurations.
- Added a new Go test file that leverages the Chainlink testing framework to load the project configuration from
Quality Gate passed
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
No longer needed.