Skip to content
Snippets Groups Projects
Commit 26b24b37 authored by Eric Timmons's avatar Eric Timmons
Browse files

Run upgrade tests only if explicitly requested

Need to set RUN_UPGRADE_TESTS
parent e36c0653
Branches
Tags
No related merge requests found
......@@ -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.
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment