Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
particle-filter-for-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Rob Moss
particle-filter-for-python
Commits
4c67e20d
Commit
4c67e20d
authored
4 years ago
by
Rob Moss
Browse files
Options
Downloads
Patches
Plain Diff
Make tox fail if a regression test output changes
parent
788950ca
No related branches found
No related tags found
No related merge requests found
Pipeline
#6714
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
tox.ini
+4
-0
4 additions, 0 deletions
tox.ini
with
10 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
4c67e20d
...
...
@@ -6,6 +6,12 @@ cache:
paths
:
-
.cache/pip
# Install git so that we can ensure that the regression test outputs remain
# unchanged.
before_script
:
-
apt-get update
-
apt-get -qq -y install git
# Run all of the test activities in tox.ini using Python 3.6.
tox-36
:
image
:
python:3.6-slim
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
4
−
0
View file @
4c67e20d
...
...
@@ -25,8 +25,12 @@ deps =
pytest
pytest-cov
matplotlib>=1.5
# NOTE: tox 3.18 deprecated whitelist_externals and added allowlist_externals.
whitelist_externals
=
git
commands
=
{envpython}
-bb
{
[base]
pytest}
{
[base]
test_paths}
{posargs}
git
diff
--exit-code
--stat
tests/
setenv
=
# Ignore ImportMismatchErrors when running doctests.
# See https://github.com/pytest-dev/pytest/issues/2042 for details.
...
...
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