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:
|
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
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue