openclimatefix / openclimatefix/.github

Add option to pass HF_TOKEN in CI test

Open
#86 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
1
Forks
11
Avg merge
1m
Merged PRs (30d)
1

Description

Detailed Description

It would be great to be able to set HF_TOKEN when the tests run.

Context

  • This is currently used in here but want to move over to the new workflows

Possible Implementation

  • not sure

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing token configuration in open-source-quartz-solar-forecast/.github/workflows/pytest.yaml at the referenced line, then inspect the new workflows in this repository. Determine where HF_TOKEN should be passed during CI tests; done means the workflow can securely provide it when configured and tests still run without it.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, huggingface
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.