From 96d77e52957995e5deedeb57a35e440dad72aa0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Tue, 1 Jun 2021 19:10:46 -0500 Subject: [PATCH] Add transfer_requirements_git_urls to downstream CI projects --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index deb090557..68f9a62c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,8 +146,8 @@ jobs: env: DOWNSTREAM_PROJECT: ${{ matrix.downstream_project }} run: | - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh - . ./ci-support.sh + curl -L -O https://tiker.net/ci-support-v0 + . ./ci-support-v0 # Use "special grudge" for kcv3 and branches targeting it. if [[ "$DOWNSTREAM_PROJECT" = "grudge" ]] && [[ "$GITHUB_HEAD_REF" = "kernel_callables_v3-edit2" || "$GITHUB_BASE_REF" = "kernel_callables_v3-edit2" ]]; then @@ -161,15 +161,16 @@ jobs: if [[ "$DOWNSTREAM_PROJECT" = "pytential" ]] && [[ "$GITHUB_HEAD_REF" = "kernel_callables_v3-edit2" || "$GITHUB_BASE_REF" = "kernel_callables_v3-edit2" ]]; then sed -i "/egg=sumpy/ c git+https://github.com/inducer/sumpy.git@loopy-callables#egg=sumpy" requirements.txt fi + + transfer_requirements_git_urls ../requirements.txt ./requirements.txt sed -i "/egg=loopy/ c git+file://$(readlink -f ..)#egg=loopy" requirements.txt + sed -i "/mpi4py/ d" 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)'" - sed -i "/mpi4py/ d" requirements.txt - build_py_project_in_conda_env test_py_project -- GitLab