mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -08:00
updating column E label to "Identified as disadvantaged" (#1406)
* updating column E label to "Identified as disadvantaged" * passing tests * adding cached poetry flow * working dir Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
This commit is contained in:
parent
7b05ee9c76
commit
68c882b3de
4 changed files with 18 additions and 10 deletions
24
.github/workflows/data-checks.yml
vendored
24
.github/workflows/data-checks.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
|||
jobs:
|
||||
data-pipeline:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: data/data-pipeline
|
||||
strategy:
|
||||
matrix:
|
||||
# checks all of the versions allowed in pyproject.toml
|
||||
|
@ -20,13 +23,18 @@ jobs:
|
|||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
# installs poetry
|
||||
- uses: Gr1N/setup-poetry@v4
|
||||
- name: Load cached Poetry installation
|
||||
id: cached-poetry-dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pypoetry/virtualenvs
|
||||
key: env-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/data-checks.yml') }}
|
||||
- name: Install poetry
|
||||
uses: snok/install-poetry@v1
|
||||
- name: Print Poetry settings
|
||||
run: poetry show -v
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd data/data-pipeline
|
||||
poetry install
|
||||
run: poetry install
|
||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
- name: Run tox
|
||||
run: |
|
||||
cd data/data-pipeline
|
||||
poetry run tox
|
||||
run: poetry run tox
|
||||
|
|
|
@ -18,7 +18,7 @@ fields:
|
|||
label: Total threshold criteria exceeded
|
||||
format: int64
|
||||
- score_name: Definition M (communities)
|
||||
label: Definition M (communities)
|
||||
label: Identified as disadvantaged
|
||||
format: bool
|
||||
- score_name: Total population
|
||||
label: Total population
|
||||
|
|
|
@ -23,7 +23,7 @@ sheets:
|
|||
label: Total threshold criteria exceeded
|
||||
format: int64
|
||||
- score_name: Definition M (communities)
|
||||
label: Definition M (communities)
|
||||
label: Identified as disadvantaged
|
||||
format: bool
|
||||
- score_name: Total population
|
||||
label: Total population
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue