Skip to content

Add import and export functionality for App Users. #21

Add import and export functionality for App Users.

Add import and export functionality for App Users. #21

Workflow file for this run

name: tests
on:
pull_request:
push:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: "requirements/*/**.txt"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends postgresql-client
pip install -U -q pip-tools
pip-sync requirements/base/base.txt requirements/dev/dev.txt
- name: Bring up auxiliary services
run: |
export COMPOSE_PARALLEL_LIMIT=1
while ! docker compose pull; do sleep 1; done
docker compose up --detach
- name: Run tests
run: |
export DATABASE_URL=postgresql://postgres@localhost:9062/odk_publish
pytest