Add CI Pipeline for Validating `challenge_config.yml`
Description
This PR adds a GitHub Actions workflow to automatically validate the challenge_config.yml file whenever a PR is opened or merged into the master branch. The validation ensures that the configuration file adheres to the required schema and that all referenced files (e.g., templates, annotations) exist.
Changes
- Added
.github/workflows/ci.yml:- Runs on PRs and pushes to
master - Validates
challenge_config.yml
- Runs on PRs and pushes to
Related Issues
- Fixes #98
Checklist
- [x] Added GitHub Actions workflow
Try re-using this script if possible: https://github.com/Cloud-CV/EvalAI-Starters/blob/master/github/challenge_processing_script.py
@RishabhJain2018 even after putting the correct credentials , it is failing and showing logs in github actions like this : https://github.com/Eeshu-Yadav/EvalAI-Starters/issues/3 any suggestions ?
Hey @Eeshu-Yadav , You need to only use this API: https://github.com/Eeshu-Yadav/EvalAI-Starters/blob/b3898846b718e00c938981995ea4b6b74516ad20/github/config.py#L7 and not use the other API for creating the challenge. We just need to validate if the challenge config is valid even when any PR is merged in the repository.
Hey @Eeshu-Yadav , Instead of changing the current python script, I would suggest you to add a new script. The current script is already being utilized in a feature.
okk @RishabhJain2018 sir , will work on that and raise a pr soon , Thanks
Hey @Eeshu-Yadav , Any updates on this?
@RishabhJain2018 extremely sorry for the delay , yesterday my exams finished , will raise a pr in the evening , working on that
No worries. Thanks for the update.