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:
Katherine D. Mlika 2022-03-18 14:50:03 -04:00 committed by GitHub
parent 7b05ee9c76
commit 68c882b3de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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