]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
CI: Reduce number of tests run for docker-compose workflow
authorStephen Finucane <stephen@that.guru>
Sun, 7 Jun 2026 15:46:11 +0000 (16:46 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 7 Jun 2026 17:02:44 +0000 (18:02 +0100)
We do not need to run the entire test suite again. Speed things up.

NOTE(stephenfin): Modified to use the correct lower and upper bound for
this branch.

Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit cd6a64e63c24c713488727fd4ea555c6070c1f1a)

.github/workflows/ci.yaml

index fb13c86c8f82bafe80a34fde78feaae1ab443417..7ea0fff20a0e9ae3721669efe5419a6987079c77 100644 (file)
@@ -166,7 +166,7 @@ jobs:
           docker compose exec -T -- db \
               sh -c "exec mysql -uroot -p\"\${MYSQL_ROOT_PASSWORD}\" -e \"GRANT ALL ON \\\`test\\_\${MYSQL_DATABASE}%\\\`.* to '\${MYSQL_USER}'@'%'; FLUSH PRIVILEGES;\""
       - name: Run unittest
-        run: docker compose run -T --rm web tox
+        run: docker compose run -T --rm web tox -e pep8,docs,py39-django42,py313-django51
       - name: Test normal startup
         run: |
           docker compose up --detach