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)
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