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
...@@ -158,17 +158,21 @@ request or sending a patch to the asdf-devel mailing list. ...@@ -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 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 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 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 you submit a merge request or manually trigger a run using Gitlab's UI.
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 If you would like to run ASDF's upgrade tests you need to first ensure your
been a release since you forked, you need to update your tags. Assuming that fork contains the tags for every released version of ASDF. If your fork is
your fork is the `origin` remote and upstream is the `upstream` remote, you can freshly created, this will happen automatically. However, if there has been a
do this by running: 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 fetch upstream --tags
git push origin --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, If you would like to enable test jobs that use the Lisp scripting test harness,
set the variable `ENABLE_ASDF_TOOLS` on a pipeline. set the variable `ENABLE_ASDF_TOOLS` on a pipeline.
......
...@@ -99,6 +99,8 @@ Build asdf-tools: ...@@ -99,6 +99,8 @@ Build asdf-tools:
- build/results/$l-upgrade.text - build/results/$l-upgrade.text
needs: [] needs: []
allow_failure: true allow_failure: true
rules:
- if: $RUN_UPGRADE_TESTS
.Scripting regression tests: .Scripting regression tests:
extends: .Regression tests extends: .Regression tests
...@@ -116,7 +118,7 @@ Build asdf-tools: ...@@ -116,7 +118,7 @@ Build asdf-tools:
needs: needs:
- Build asdf-tools - Build asdf-tools
rules: rules:
- if: $ENABLE_ASDF_TOOLS - if: $ENABLE_ASDF_TOOLS && $RUN_UPGRADE_TESTS
############################################################################### ###############################################################################
# Actual test jobs - Makefile based harness # Actual test jobs - Makefile based harness
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment