Briefcase console app #74
This file contains hidden or 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: Test Code Changes | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test-django: | |
| name: Python Test Suite | |
| strategy: | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| 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 ty type checking | |
| run: uv run ty check d3ploy/ tests/ | |
| - name: Run Python Unit Tests | |
| run: | | |
| uv run pytest |