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: jobs:
data-pipeline: data-pipeline:
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults:
run:
working-directory: data/data-pipeline
strategy: strategy:
matrix: matrix:
# checks all of the versions allowed in pyproject.toml # checks all of the versions allowed in pyproject.toml
@ -20,13 +23,18 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
# installs poetry - name: Load cached Poetry installation
- uses: Gr1N/setup-poetry@v4 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 - name: Install dependencies
run: | run: poetry install
cd data/data-pipeline if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
poetry install
- name: Run tox - name: Run tox
run: | run: poetry run tox
cd data/data-pipeline
poetry run tox

View file

@ -18,7 +18,7 @@ fields:
label: Total threshold criteria exceeded label: Total threshold criteria exceeded
format: int64 format: int64
- score_name: Definition M (communities) - score_name: Definition M (communities)
label: Definition M (communities) label: Identified as disadvantaged
format: bool format: bool
- score_name: Total population - score_name: Total population
label: Total population label: Total population

View file

@ -23,7 +23,7 @@ sheets:
label: Total threshold criteria exceeded label: Total threshold criteria exceeded
format: int64 format: int64
- score_name: Definition M (communities) - score_name: Definition M (communities)
label: Definition M (communities) label: Identified as disadvantaged
format: bool format: bool
- score_name: Total population - score_name: Total population
label: Total population label: Total population