Skip to content

Create test-docker.yml #70 #11

Create test-docker.yml #70

Create test-docker.yml #70 #11

Workflow file for this run

name: API Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt update
sudo apt install libgl1 libegl1 libopengl0 libgdal-dev libsqlite3-mod-spatialite -y
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test