feat: Bunch of changes to support superdays #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: pip install -r requirements-dev.txt && pip install -r requirements.txt | |
- name: Lint | |
run: python runtests.py --lint-only | |
test: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgis/postgis:14-master | |
env: | |
POSTGRES_USER: whereintheworld | |
POSTGRES_PASSWORD: whereintheworld | |
POSTGRES_DB: whereintheworld | |
ports: ['5432:5432'] | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install OS dependencies | |
run: | | |
sudo add-apt-repository -y ppa:ubuntugis/ppa | |
sudo apt-get update | |
sudo apt-get install gdal-bin python3-gdal | |
- name: Install Python dependencies | |
run: pip install -r requirements-dev.txt && pip install -r requirements.txt | |
- name: Tests | |
env: | |
TEST: 1 | |
run: python runtests.py --no-lint |