mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-20 13:43:52 -07:00
NRI dataset and initial score YAML configuration (#1534)
* update be staging gha * NRI dataset and initial score YAML configuration * checkpoint * adding data checks for release branch * passing tests * adding INPUT_EXTRACTED_FILE_NAME to base class * lint * columns to keep and tests * update be staging gha * checkpoint * update be staging gha * NRI dataset and initial score YAML configuration * checkpoint * adding data checks for release branch * passing tests * adding INPUT_EXTRACTED_FILE_NAME to base class * lint * columns to keep and tests * checkpoint * PR Review * renoving source url * tests * stop execution of ETL if there's a YAML schema issue * update be staging gha * adding source url as class var again * clean up * force cache bust * gha cache bust * dynamically set score vars from YAML * docsctrings * removing last updated year - optional reverse percentile * passing tests * sort order * column ordening * PR review * class level vars * Updating DatasetsConfig * fix pylint errors * moving metadata hint back to code Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
This commit is contained in:
parent
1833e3e794
commit
1c448a77f9
15 changed files with 272 additions and 3485 deletions
6
.github/workflows/data-checks.yml
vendored
6
.github/workflows/data-checks.yml
vendored
|
|
@ -2,7 +2,9 @@
|
|||
name: Data Checks
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main] # runs on any PR against main
|
||||
branches:
|
||||
- main
|
||||
- "**/release/**"
|
||||
paths:
|
||||
- "data/**"
|
||||
jobs:
|
||||
|
|
@ -16,7 +18,7 @@ jobs:
|
|||
# checks all of the versions allowed in pyproject.toml
|
||||
python-version: [3.8, 3.9]
|
||||
steps:
|
||||
# installs python
|
||||
# installs Python
|
||||
# one execution of the tests per version listed above
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
|
|
|||
6
.github/workflows/deploy_be_staging.yml
vendored
6
.github/workflows/deploy_be_staging.yml
vendored
|
|
@ -1,7 +1,9 @@
|
|||
name: Deploy Backend Staging
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches:
|
||||
- main
|
||||
- "**/release/**"
|
||||
paths:
|
||||
- "data/**"
|
||||
env:
|
||||
|
|
@ -60,7 +62,7 @@ jobs:
|
|||
- name: Update PR with deployed Score URLs
|
||||
uses: mshick/add-pr-comment@v1
|
||||
with:
|
||||
# Deploy to S3 for the staging URL
|
||||
# Deploy to S3 for the Staging URL
|
||||
message: |
|
||||
** Score Deployed! **
|
||||
Find it here:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue