Repository navigation
Add a dependabot.yml and bump deps
#39
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: Tests | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | ||
| with: | ||
| python-version: "3.13" | ||
| - run: pip install -r requirements-dev.txt | ||
| - run: flake8 codespeed speed_python speed_pypy | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python-version: ["3.12", "3.13", "3.14"] | ||
| django: ["5.2", "6.1"] | ||
| include: | ||
| # The production server runs Python 3.10, which Django 6 does | ||
| # not support, so only test it with Django 5.2. | ||
| - python-version: "3.10" | ||
| django: "5.2" | ||
| name: Python ${{ matrix.python-version }} / Django ${{ matrix.django }} | ||
| env: | ||
| DJANGO_SETTINGS_MODULE: codespeed.tests.settings | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - run: pip install -r requirements.txt "django==${{ matrix.django }}.*" | ||
| # test_commits.py skips itself when hg is not installed | ||
| - run: python manage.py test codespeed speed_python speed_pypy | ||