Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arraycontext
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Andreas Klöckner
arraycontext
Commits
6293b32b
Commit
6293b32b
authored
2 years ago
by
Alexandru Fikl
Committed by
Andreas Klöckner
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
clean up downstream tests
parent
3b958334
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#294452
passed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/ci.yml
+2
-29
2 additions, 29 deletions
.github/workflows/ci.yml
.gitlab-ci.yml
+16
-0
16 additions, 0 deletions
.gitlab-ci.yml
with
18 additions
and
29 deletions
.github/workflows/ci.yml
+
2
−
29
View file @
6293b32b
...
...
@@ -118,8 +118,7 @@ jobs:
downstream_tests
:
strategy
:
matrix
:
#downstream_project: [meshmode, grudge, pytential, mirgecom]
downstream_project
:
[
meshmode
,
grudge
,
mirgecom
]
downstream_project
:
[
meshmode
,
grudge
,
mirgecom
,
mirgecom_examples
]
fail-fast
:
false
name
:
Tests for downstream project ${{ matrix.downstream_project }}
...
...
@@ -132,33 +131,7 @@ jobs:
run
:
|
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
if test "$DOWNSTREAM_PROJECT" = "mirgecom"; then
git clone "https://github.com/illinois-ceesd/$DOWNSTREAM_PROJECT.git"
else
git clone "https://github.com/inducer/$DOWNSTREAM_PROJECT.git"
fi
cd "$DOWNSTREAM_PROJECT"
echo "*** $DOWNSTREAM_PROJECT version: $(git rev-parse --short HEAD)"
# Use this version of arraycontext instead of what downstream would install
edit_requirements_txt_for_downstream_in_subdir
# Avoid slow or complicated tests in downstream projects
export PYTEST_ADDOPTS="-k 'not (slowtest or octave or mpi)'"
if test "$DOWNSTREAM_PROJECT" = "mirgecom"; then
# can't turn off MPI in mirgecom
export CONDA_ENVIRONMENT=conda-env.yml
export CISUPPORT_PARALLEL_PYTEST=no
echo "- mpi4py" >> "$CONDA_ENVIRONMENT"
else
sed -i "/mpi4py/ d" requirements.txt
fi
build_py_project_in_conda_env
test_py_project
test_downstream "$DOWNSTREAM_PROJECT"
if [[ "$DOWNSTREAM_PROJECT" = "meshmode" ]]; then
python ../examples/simple-dg.py --lazy
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
16
−
0
View file @
6293b32b
...
...
@@ -92,3 +92,19 @@ Mypy:
-
python3
except
:
-
tags
Downstream
:
parallel
:
matrix
:
-
DOWNSTREAM_PROJECT
:
[
meshmode
,
grudge
,
mirgecom
,
mirgecom_examples
]
tags
:
-
large-node
-
"
docker-runner"
script
:
|
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
test_downstream "$DOWNSTREAM_PROJECT"
if [[ "$DOWNSTREAM_PROJECT" = "meshmode" ]]; then
python ../examples/simple-dg.py --lazy
fi
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