Improvements after running through Django Girls tutorial #26
Workflow file for this run
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: integration_tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout dsd-pythonanywhere | |
| uses: actions/checkout@v6 | |
| with: | |
| path: dsd-pythonanywhere | |
| - name: Checkout django-simple-deploy | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: django-simple-deploy/django-simple-deploy | |
| path: django-simple-deploy | |
| - name: Install uv and set the Python version | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3.14" | |
| - name: Install dependencies | |
| run: | | |
| cd django-simple-deploy/ | |
| uv venv | |
| uv pip install -e ".[dev]" | |
| uv pip install -e "../dsd-pythonanywhere[dev]" | |
| - name: Configure Git | |
| run: | | |
| git config --global user.email "[email protected]" | |
| git config --global user.name "Ci Tester" | |
| git config --global init.defaultBranch main | |
| - name: Run integration tests | |
| run: | | |
| cd django-simple-deploy/ | |
| uv run pytest |