Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DQSegDB Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IGWN Computing and Software
DQSegDB
DQSegDB Client
Commits
673c1740
Unverified
Commit
673c1740
authored
1 year ago
by
Duncan Macleod
Browse files
Options
Downloads
Patches
Plain Diff
rpm: don't run pytest during build
it just makes things heavy
parent
9f1a7d72
No related branches found
No related tags found
1 merge request
!121
Disable pytest during RPM/Deb builds
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/dqsegdb.spec
+3
-9
3 additions, 9 deletions
etc/dqsegdb.spec
with
3 additions
and
9 deletions
etc/dqsegdb.spec
+
3
−
9
View file @
673c1740
...
...
@@ -21,10 +21,6 @@ BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
# test requirements
BuildRequires: python%{python3_pkgversion}-pyOpenSSL >= 0.14
BuildRequires: python%{python3_pkgversion}-pytest
# -- src.rpm
%description
...
...
@@ -76,10 +72,9 @@ sed -i '/lalsuite/d' setup.py
%py3_install_wheel %{srcname}-%{version}-*.whl
%check
cd %{_builddir} # move out of the source tree
export PYTHONPATH="%{buildroot}%{python3_sitelib}"
export PATH="%{buildroot}%{_bindir}:${PATH}"
%{__python3} -m pytest -ra -v --pyargs dqsegdb
# print the metadata
PATH="%{buildroot}%{_bindir}:${PATH}" \
%{__python3} -m pip show dqsegdb
%clean
rm -rf $RPM_BUILD_ROOT
...
...
@@ -97,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT
%license LICENSE
%doc README.md
%{python3_sitelib}/*
%exclude %{python3_sitelib}/dqsegdb/tests/__pycache__/*-PYTEST.pyc
# -- changelog
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment