Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
hg-git
Commits
d80e2f3fb448
Commit
d80e2f3f
authored
Nov 25, 2020
by
Dan Villiom Podlaski Christiansen
Browse files
ci: test ubuntu 21.04 & 21.10
parent
18c25f636d53
Pipeline
#57746
failed with stages
in 22 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d80e2f3f
...
...
@@ -105,6 +105,37 @@
-
"
3.15"
-
"
3.16"
# Test that it is possible to use and run hg-git on Ubuntu without
# compiling any C code, i.e. with stock Dulwich, Mercurial and
# CPython. This should most definitely be the case on the latest
# rolling release without a PPA, although we can live with PPAs on
# older systems if needed.
Ubuntu
:
stage
:
compat
image
:
name
:
ubuntu:$UBUNTU
script
:
-
apt-get -qq update
-
>
DEBIAN_FRONTEND=noninteractive
apt-get -qq install --no-install-recommends
gnupg gnupg-agent git unzip ssh
mercurial python3-dulwich python3-setuptools pyflakes3
# get latest coverage, otherwise it might not be compatible
-
pip install coverage
-
useradd test
-
chown -R test *
-
>
runuser -u test --
python3 tests/run-tests.py -v --color=always
--xunit $PWD/tests-$CI_JOB_ID.xml --cover
-
mv tests/.coverage coverage-$CI_JOB_ID
artifacts
:
*test-artifacts
parallel
:
matrix
:
-
UBUNTU
:
-
"
22.04"
# Test that the tests pass against the current branches
Development
:
extends
:
.base
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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