Skip to content

remove ogr python library, we want osgeo (part of gdal) #67

remove ogr python library, we want osgeo (part of gdal)

remove ogr python library, we want osgeo (part of gdal) #67

Workflow file for this run

name: "Continuous Integration"
on: [ push, pull_request ]
jobs:
compare-output:
name: Compare output
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Ubuntu dependencies
run: |
sudo apt-get update -qq
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