Skip to content

Change to uv

Change to uv #67

Workflow file for this run

name: Test Code Changes
on:
pull_request:
branches:
- main
jobs:
test-django:
name: Python Test Suite
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
D3PLOY_DEBUG: yes
D3PLOY_TEST_BUCKET: d3ploy-tests-${{ matrix.python-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install Python dependencies
run: |
uv sync
- name: Run ruff tests
run: uv run ruff check d3ploy
- name: Run Python Unit Tests
run: |
uv run pytest