add HF_TOKEN as extra command #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python package tests | ||
on: | ||
push: | ||
schedule: | ||
- cron: "0 12 * * 1" | ||
jobs: | ||
call-run-python-tests: | ||
uses: openclimatefix/.github/.github/workflows/python-test.yml@main | ||
with: | ||
# pytest-cov looks at this folder | ||
pytest_cov_dir: "quartz_solar_forecast" | ||
os_list: '["ubuntu-latest"]' | ||
python-version: "['3.10','3.11']" | ||
extra_commands: | ||
export HF_TOKEN=${{ secrets.HF_TOKEN }} |