[goal] Migrate testing to ubuntu focal

As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
Closes-Bug: #1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40196

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: I29eae255a0cb87c41d1d739e3bb608c303c5b9b8
changes/18/744718/5
manchandavishal 2 years ago
parent d46e3cf3e4
commit c9e8d95c09
  1. 2
      mistraldashboard/test/settings.py
  2. 4
      test-requirements.txt

@ -16,5 +16,5 @@
from horizon.test.settings import * # noqa
from openstack_dashboard.test.settings import * # noqa
INSTALLED_APPS = list(INSTALLED_APPS)
INSTALLED_APPS = list(INSTALLED_APPS) # noqa: F999
INSTALLED_APPS.append('mistraldashboard')

@ -4,6 +4,10 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
# remove this pyflakes from here once you bump the
# hacking to 3.2.0 or above. hacking 3.2.0 takes
# care of pyflakes version compatibilty.
pyflakes>=2.1.1
# Testing Requirements
coverage!=4.4,>=4.0 # Apache-2.0

Loading…
Cancel
Save