Skip to content

Continuous Integration Fails on private endpoints #1

@mwlang

Description

@mwlang

When tests are run locally, they succeed because an API Key and Secret are set up locally and then interactions with the Binance server are captured to VCR cassettes.

In Github Actions, this will not be possible to do securely, nor is practical even with github.SECRETS since a live account is needed.

Refactor these private tests to stub calls to the Binance servers and return expected responses.

The VCR cassettes are occasionally scrubbed and tested against the live server to ensure APIs are still working. Not sure what to do about this as it's essentially "poor man's" version of integration testing without a full-testing environment.

Would love some help (suggestions, feedback, or PR's) on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions