Skip to content

Commit

Permalink
Downstream CI: use ci-support, add Gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Mar 25, 2022
1 parent 8bad9fc commit 9dcb863
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/ci.yml
Expand Up @@ -110,23 +110,7 @@ jobs:
run: |
curl -L -O -k https://tiker.net/ci-support-v0
. ./ci-support-v0
git clone "https://github.com/inducer/$DOWNSTREAM_PROJECT.git"
cd "$DOWNSTREAM_PROJECT"
echo "*** $DOWNSTREAM_PROJECT version: $(git rev-parse --short HEAD)"
edit_requirements_txt_for_downstream_in_subdir
# HACK: force overwrite even if it's already there (e.g. as a pyopencl dep)
sed -i '/egg=pytools/ s/^/-e/' requirements.txt
export CONDA_ENVIRONMENT=.test-conda-env-py3.yml
# Avoid slow or complicated tests in downstream projects
export PYTEST_ADDOPTS="-k 'not (slowtest or octave or mpi)'"
build_py_project_in_conda_env
test_py_project
test_downstream "$DOWNSTREAM_PROJECT"
docs:
name: Documentation
Expand Down
13 changes: 13 additions & 0 deletions .gitlab-ci.yml
Expand Up @@ -67,3 +67,16 @@ Documentation:
tags:
- python3

Downstream:
parallel:
matrix:
- DOWNSTREAM_PROJECT: [loopy, pytato]
tags:
- large-node
- "docker-runner"
script: |
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
test_downstream "$DOWNSTREAM_PROJECT"
# vim: sw=2

0 comments on commit 9dcb863

Please sign in to comment.