Bump jinja2 from 3.1.3 to 3.1.4 #153
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 Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
run_tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out source | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install postgis | |
uses: huaxk/postgis-action@v1 | |
with: | |
postgresql db: 'gis' | |
postgresql user: 'gis_admin' | |
postgresql password: 'admin' | |
- name: Install packages | |
run: sudo apt-get update && sudo apt-get install -y build-essential protobuf-compiler libprotobuf-dev python3 #proj-bin libproj-dev | |
- name: Activate cache for python packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install pip requirements | |
run: pip install -r requirements.txt | |
- name: Run tests | |
run: python manage.py test |