File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Workflow that runs on code changes after merge to main.
2+
3+ name : Manual Testing
4+ on :
5+ workflow_dispatch :
6+
7+ env :
8+ HUGGING_FACE_TOKEN : ${{ secrets.HUGGING_FACE_TOKEN }}
9+ POLICYENGINE_US_DATA_GITHUB_TOKEN : ${{ secrets.POLICYENGINE_US_DATA_GITHUB_TOKEN }}
10+
11+ jobs :
12+ Test :
13+ permissions :
14+ contents : " read"
15+ # Required to auth against gcp
16+ id-token : " write"
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout repo
20+ uses : actions/checkout@v2
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v5
23+
24+ - name : Set up Python
25+ uses : actions/setup-python@v2
26+ with :
27+ python-version : ' 3.11'
28+ - uses : " google-github-actions/auth@v2"
29+ with :
30+ workload_identity_provider : " projects/322898545428/locations/global/workloadIdentityPools/policyengine-research-id-pool/providers/prod-github-provider"
31+ service_account : " policyengine-research@policyengine-research.iam.gserviceaccount.com"
32+ - name : Install package
33+ run : uv pip install -e .[dev] --system
34+ - name : Test documentation builds
35+ run : make documentation
36+ - name : Deploy documentation
37+ uses : JamesIves/github-pages-deploy-action@releases/v3
38+ with :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40+ BRANCH : gh-pages # The branch the action should deploy to.
41+ FOLDER : docs/_build/html # The folder the action should deploy.
42+ CLEAN : true # Optionally delete the contents of the release branch before deploying.jk
43+
You can’t perform that action at this time.
0 commit comments