Skip to content

github actions: update python, nodejs #41

github actions: update python, nodejs

github actions: update python, nodejs #41

Workflow file for this run

name: "Continuous Integration"
on: [ push, pull_request ]
jobs:
compare-output:
name: Compare output
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install Ubuntu dependencies
run: sudo apt-get install -y -qq --no-install-recommends python3-gdal python3-pip python3-pytest unzip
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Run tests
run: pytest-3
- name: Create output
run: |
mkdir output
./tiger_address_convert.py tests/fixtures/tl_2020_37143_edges/tl_2020_37143_edges.shp output/37143.csv
diff output/37143.csv tests/fixtures/expected_37143.csv
cat output/37143.csv | ./calculate_postcode_centroids.py > output/us_postcodes.csv
diff output/us_postcodes.csv tests/fixtures/expected_us_postcodes.csv