Skip to content

Add a dependabot.yml and bump deps #39

Add a dependabot.yml and bump deps

Add a dependabot.yml and bump deps #39

Workflow file for this run

name: Tests

Check warning on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Tests

Workflow execution policy warning (evaluate mode)

Event 'pull_request' is not allowed to trigger Actions workflows. Workflow file: '.github/workflows/test.yml'.
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