Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Add local mode for running validations #10

Open
hannanabdul55 opened this issue May 5, 2021 · 1 comment
Open

Add local mode for running validations #10

hannanabdul55 opened this issue May 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@hannanabdul55
Copy link
Contributor

Description

Currently, when the validations script (main.py) is run from the local computer, it reads a locally set event.json, a file that is present on the Github Actions runner (more details on this file is the GITHUB_EVENT_PATH environment variable here).

What we should ideally do is to link this to the main hub repository and running test_formatting.py should use the validations from this repository. One possible solution could be to add this repository as a git submodule under the code directory in the hub.

@hannanabdul55 hannanabdul55 added the enhancement New feature or request label May 5, 2021
@nickreich
Copy link
Member

Currently, the validations can only be run via a GitHub action - it cannot be configured to run locally. At some point we might want to revisit this.

@nickreich nickreich changed the title Fix local mode run of validations Add local mode for running validations Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants