Skip to content

Clean up documentation and implement version file system #3

Clean up documentation and implement version file system

Clean up documentation and implement version file system #3

Workflow file for this run

name: Test GAIA Docker
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install test dependencies
run: uv sync --extra dev
- name: Run Dockerfile build tests
run: |
uv run pytest tests/test_dockerfile.py -v --tb=short
- name: Run entrypoint tests
run: |
uv run pytest tests/test_entrypoint.py -v --tb=short
- name: Run integration tests
if: github.event_name == 'push'
env:
LEMONADE_URL: http://localhost:5000/api/v1
run: |
uv run pytest tests/test_container.py -v --tb=short -m integration
- name: Cleanup Docker resources
if: always()
run: |
docker system prune -af --volumes