mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-02 20:59:06 +08:00
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,3 +22,4 @@ tests/test_module_build_service.db-journal
|
||||
.pytest_cache/
|
||||
requirements.txt.orig
|
||||
mbstest.db
|
||||
htmlcov/
|
||||
|
||||
@@ -49,7 +49,7 @@ RUN yum -y install \
|
||||
&& yum clean all
|
||||
# We currently require newer versions of these Python packages for the tests.
|
||||
# more-itertools is required by pytest, but versions 6.0.0 and up aren't Python 2 compatible
|
||||
RUN pip install --upgrade flask-sqlalchemy "pytest<5.0" flake8 tox pip "more-itertools<6.0.0"
|
||||
RUN pip install --upgrade flask-sqlalchemy "pytest<5.0" flake8 tox pip "more-itertools<6.0.0" pytest-cov
|
||||
VOLUME /src
|
||||
WORKDIR /src
|
||||
ENTRYPOINT ["docker/test.sh"]
|
||||
|
||||
@@ -30,6 +30,7 @@ RUN dnf -y install \
|
||||
python3-sqlalchemy \
|
||||
python3-pungi \
|
||||
python3-psycopg2 \
|
||||
python3-pytest-cov \
|
||||
# Test-only dependencies
|
||||
python3-pytest \
|
||||
python3-flake8 \
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
-r requirements.txt
|
||||
|
||||
flake8
|
||||
mock
|
||||
pytest
|
||||
flake8
|
||||
pytest-cov
|
||||
tox
|
||||
|
||||
Reference in New Issue
Block a user