Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gary Palter
asdf
Commits
26b24b37
Commit
26b24b37
authored
Oct 16, 2020
by
Eric Timmons
Browse files
Run upgrade tests only if explicitly requested
Need to set RUN_UPGRADE_TESTS
parent
e36c0653
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
26b24b37
...
...
@@ -158,17 +158,21 @@ request or sending a patch to the asdf-devel mailing list.
If you fork the repository on Gitlab, note that Gitlab CI is enabled to help in
automated testing. While not exhaustive, this can help make sure you don't
inadvertantly break anything with your patch! The tests will be run any time
you submit a merge request or manually trigger a run using Gitlab's UI. In
order for the tests to run properly (namely the ASDF upgrade tests), you must
ensure your fork contains the tags for every released version of ASDF. If your
fork is freshly created, this will happen automatically. However, if there has
been a release since you forked, you need to update your tags. Assuming that
your fork is the
`origin`
remote and upstream is the
`upstream`
remote, you can
do this by running:
you submit a merge request or manually trigger a run using Gitlab's UI.
If you would like to run ASDF's upgrade tests you need to first ensure your
fork contains the tags for every released version of ASDF. If your fork is
freshly created, this will happen automatically. However, if there has been a
release since you forked, you need to update your tags. Assuming that your fork
is the
`origin`
remote and upstream is the
`upstream`
remote, you can do this
by running:
git fetch upstream --tags
git push origin --tags
Then set the varialbe
`RUN_UPGRADE_TESTS`
on a pipeline.
If you would like to enable test jobs that use the Lisp scripting test harness,
set the variable
`ENABLE_ASDF_TOOLS`
on a pipeline.
...
...
gitlab-ci.yml
View file @
26b24b37
...
...
@@ -99,6 +99,8 @@ Build asdf-tools:
-
build/results/$l-upgrade.text
needs
:
[]
allow_failure
:
true
rules
:
-
if
:
$RUN_UPGRADE_TESTS
.Scripting regression tests
:
extends
:
.Regression tests
...
...
@@ -116,7 +118,7 @@ Build asdf-tools:
needs
:
-
Build asdf-tools
rules
:
-
if
:
$ENABLE_ASDF_TOOLS
-
if
:
$ENABLE_ASDF_TOOLS
&& $RUN_UPGRADE_TESTS
###############################################################################
# Actual test jobs - Makefile based harness
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment